This site has been updated.
Reload to display the latest version?
(click here)

Tag:  prerender

Adding react-snap to my app

17 October, 2020
I started to experiment with react-snap - a nice tool for creating pre rendered html of your SPA. The reason is fairly simple - I want to increase visibility of ImgReview by search engines. The installation is very easy. Basically you need to install the package npm install react-snap, and then just change your app render point to: In my case though there was a problem. Pre render failed with this weird error message: Which wasn’t informative for me, since I had no idea what exactly is causing…