I'd expect react-snap to work fine with react-native-web, as it's simply rendering pages in a browser to create static html files before hydrating them. Has anyone gotten this to work?
After building I'm getting...
Uncaught TypeError: Cannot read property 'rules' of undefined
at createOrderedCSSStyleSheet.js:49
I'd expect react-snap to work fine with react-native-web, as it's simply rendering pages in a browser to create static html files before hydrating them. Has anyone gotten this to work?
After building I'm getting...
Here's a repro: https://github.com/pcmaffey/rnw-snapshot
It's a create-react-app using react-native-web components. It runs react-snap postbuild. Works fine in dev, errors when running the build.
Can see the error live here: https://objective-bell-dff10b.netlify.com/
I'm guessing this is an issue with rnw, but wanted to check here to see if anyone has gotten this to work together.