Episode 3 is out.
We do the following:
- Create a new route with codesplitting and data preloading (render-as-you-fetch)
- Reuse the components we’ve already built, using fragments
- Create type safe links to our new route
- Build out a now shared fragment component in isolation. Fragments and co-location means we can do that just by editing the component alone. No need to wire up any data or care where and in what routes that component is actually used, Relay takes care of that for us.
Shows how easy it is to evolve fragment components with no worry of breaking the rest of the app.
3. Creating routes, and creating reusable components using fragments