- React Router
- Location & History APIs
0. React Router
- pathname, anchor
- pushState, onpopstate
- Bonus - What's history state?
- Union types
- Tagged Unions
- fp-ts-routing
- Bonus: Ints, Queries and Types
- morphic-ts
- Bonus: verified
- Bonus: other sum type libraries
- morphic-ts-routing
- Location & History APIs
0. React Router
- (Optional) Next.js & SSR
- Router
- Removing flicker
- Hyradtion-safe URL
- Data fetch
- Hydration-safe Data Fetch
- Data Model
- TodoMVC
- react-testing-library
- router
- SSOT
- test
- Reactive Architecture with Redux
You can run the code in this repository by pointing the App
component import in src/index.ts
to the App.ts
file corresponding to the video.
For the nextjs/ssr tutorial, you can run the code in this repository by pointing the handleRoute
function import in server/server.tsx
to the handleRoute.ts
file corresponding to the video, as well as the clientAppElement
function import in server/hydrate.tsx
.
Express SSR (using create-react-app)