Wattenberger-2019 icon indicating copy to clipboard operation
Wattenberger-2019 copied to clipboard

Fix react-snapshot pre-rendering?

Open karlhorky opened this issue 5 years ago • 0 comments

Hi Amelia, nice website!

Not sure if you're already working on this, but it seems like react-snapshot you have configured at the code block below is not currently working:

https://github.com/Wattenberger/Wattenberger-2019/blob/1356313cadf6c76857fd76790656cb4c222e174b/src/index.js#L9-L19

This means that JavaScript is required to view the content of the site, which (as you're maybe aware) will reduce performance and SEO:

Screen Shot 2020-01-23 at 11 52 15

Screen Shot 2020-01-23 at 11 52 24

I was going to do a PR to add react-snap, but I thought I'd ping you first to see if you have any plans to do this differently.

karlhorky avatar Jan 23 '20 10:01 karlhorky