1

I am using site build with Create React App and it all works fine when I run it on server. What I would like is to put it to IPFS and for that it needs to be a "generated static website" (no server side rendering), sometimes called also snapshot of website. I tried few tools like https://github.com/stereobooster/react-snap and https://www.npmjs.com/package/react-snapshot and they work fine for basic react site, but when I introduce redux for state management sites dont work anymore and JS used for connecting to metamask and making blockchain actions isnt working. Any suggestions on how to solve this?

2
  • 1
    Use create-eth-app. The boilerplate you get includes a script for deploying to IPFS Commented Oct 13, 2021 at 16:41
  • thnx for suggestion, will check it out.
    – Blissful
    Commented Oct 13, 2021 at 19:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.