dKab / jstasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:TypeScript 88.7%Language:JavaScript 7.4%Language:HTML 2.1%Language:CSS 1.8%