mirror of
https://github.com/seigler/presentation-react-state-management
synced 2025-07-28 01:56:10 +00:00
useReducer demo
This commit is contained in:
parent
de3f50b388
commit
31a9a1b463
3 changed files with 165 additions and 17 deletions
|
@ -1,3 +1,7 @@
|
|||
import { UseReducer } from "./useReducer";
|
||||
import { UseState } from "./useState";
|
||||
|
||||
export const strategies = [{ name: 'useState', component: UseState }]
|
||||
export const strategies = [
|
||||
{ name: 'useState', component: UseState },
|
||||
{ name: 'useReducer', component: UseReducer },
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue