Open josiahseaman opened 8 years ago
That's pretty similar to how we're leveraging it.
You can put the @resolve
all the way up on your handlers, or down to the individual component level.
Simply put, this project removes the need from your components to load data on componentDidMount
and re-render
ing when loaded and, as a result, allows for full-stack server-side rendering.
I'm looking at using React front end combined with a Django database backend. I haven't found a packaged solution for my components to get their initial data from a Django endpoint. Would react-resolver be a good way to do this?
Thanks for all your hard work.