From Ember to React — Part 1: Data fetching optimization for react-router nested routes

Ben Orozco
May 2, 2019 · 3 min read
Image for post
Image for post
| <Route path> | Component      | API call           |
|--------------|----------------|--------------------|
| /tasks | <TaskList ...> | GET /api/tasks |
| /tasks/:id | <Task ...> | GET /api/tasks/:id |

Cross-pollination from Ember

Image for post
Image for post

Back to React-lity

Image for post
Image for post

Next Steps


HealthTree

HealthTree

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.

Get the Medium app