erikras / erikras/react-redux-universal-hot-example
Loading dynamic content from routes
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I am new to react and redux. What is the best practice for loading content from the API for routes e.g.
/cms/page1
Where I want to display the content for page1. I've already setup the API-server example to serve content for /api/cms/:pagename.
Do you suggest to create a component for that content or can I just use the route container for serving it?
How can I pass the url param :pagename. What's a good approach?
Contributor guide
Assessment
This issue has not been assessed yet.