Skip to content

Commit 2abaf35

Browse files
authored
Update README.md
Updated to State management instead of Context specific
1 parent e457775 commit 2abaf35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

week3/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
These are the topics for week 3:
66

7-
1. [Context API](https://study.hackyourfuture.net/#/react/context-api.md)
8-
- Global state management
9-
- Connecting state to component
7+
1. [State Management](https://study.hackyourfuture.net/#/react/state-management.md)
8+
- Reducers
9+
- Context
1010
2. [Custom Hooks](https://study.hackyourfuture.net/#/react/custom-hooks.md)
1111
- Building custom hooks
1212
- Using other people's custom hooks
@@ -24,7 +24,7 @@ These are the topics for week 3:
2424

2525
This week we are going to look at some more advanced topics.
2626

27-
Firstly, let's have a look at the context API, which sounds like something external but is actually something that React provides us. Have a look [here](https://study.hackyourfuture.net/#/react/context-api.md). A common mistake students make is thinking that you only make one context for every app, but you should think of the context API as way to consolidate state and the functions surrounding it in one place for all subcomponents to use. So when thinking about using the context API, think of it as a way to keep code that belongs together in one place!
27+
Firstly, let's have a look at more advanced state management topics now that we are going into larger apps! Have a look [here](https://study.hackyourfuture.net/#/react/state-management.md). A common mistake students make is thinking that you only make one context for every app, but you should think of the context API as way to consolidate state and the functions surrounding it in one place for all subcomponents to use. So when thinking about using the context API, think of it as a way to keep code that belongs together in one place!
2828

2929
As you probably noticed in the router library last week, they have built their own hooks to provide some of the . We can do that too and it is extremely powerful. Have a look at the custom hook section [here](https://study.hackyourfuture.net/#/react/custom-hooks.md) to see how to do it.
3030

0 commit comments

Comments
 (0)