mirror of
https://github.com/seigler/presentation-react-state-management
synced 2025-07-28 01:56:10 +00:00
add useContext
This commit is contained in:
parent
9d42cbf352
commit
60684dbd0a
3 changed files with 159 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
import { UseReducer } from "./useReducer";
|
||||
import { UseSignal } from "./useSignal";
|
||||
import { UseState } from "./useState";
|
||||
import { UseReducer } from "./useReducer";
|
||||
import { UseContext } from "./useContext";
|
||||
import { UseSignal } from "./useSignal";
|
||||
|
||||
export const strategies = [
|
||||
{ name: 'useState', component: UseState },
|
||||
{ name: 'useReducer', component: UseReducer },
|
||||
{ name: 'useContext', component: UseContext },
|
||||
{ name: 'useSignal', component: UseSignal },
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue