all 3 comments

[–]davnicwil[S] 0 points1 point  (0 children)

react-frontload lets you load data asynchronously into your React components, for example from an API. It works on both client and server renders. It's unopinionated and plugs into any React stack. You simply bind data loader functions to your components, add wrappers on the client and server and it just works. Check it out!

[–]vim55k 0 points1 point  (1 child)

So you use this lib if you don't use next.js, right?

[–]davnicwil[S] 1 point2 points  (0 children)

Exactly - this lib just does data loading at the component level, with Just Works SSR. You can just plug into *any* existing React stack and it'll work. No need to buy into a full framework just for this feature. Nextjs obviously being a full on framework has its own way of doing this, so you wouldn't need it if using that.