stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.06k stars 394 forks source link

Using componentDidMount or componentWillMount does not remove loading? #418

Open oyvindremme opened 4 years ago

oyvindremme commented 4 years ago

Hello,

I seem to be a tad confused, but I have a boolean loading state for displaying information on a page when my site is done loading. Is there a way to skip this and have the app react just like a statically generated site? I've had a look at react-static, but it doesn't appeal much to me - I've only had a slight look at it, though.

Is there a way? Can I store the data I get from my server in a way so that it skips the loading sequence?

What-do? 🤓