Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 428 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 428 Bytes

Connected React Router TypeScript Example

This is the same as the basic example, but using TypeScript.

Install

yarn

Run

npm run dev

You can try changing counter value and editing some components. Components will be updated while preserving counter state.

In Hello link, you will see that the HelloChild component can access router state (URL path) without passing as props via its parent.