Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Data from Django using React Resolver #99

Open
josiahseaman opened this issue Oct 30, 2015 · 1 comment
Open

Initial Data from Django using React Resolver #99

josiahseaman opened this issue Oct 30, 2015 · 1 comment

Comments

@josiahseaman
Copy link

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.

@ericclemmons
Copy link
Owner

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-rendering when loaded and, as a result, allows for full-stack server-side rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants