From b7d519968c6aa41f17cf588726db17947805db21 Mon Sep 17 00:00:00 2001 From: Zac Jones Date: Wed, 4 Sep 2024 16:00:51 -0600 Subject: [PATCH 1/3] add links 01.use-reducer-01/problem.new-state --- exercises/01.use-reducer/01.problem.new-state/README.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exercises/01.use-reducer/01.problem.new-state/README.mdx b/exercises/01.use-reducer/01.problem.new-state/README.mdx index ad0d4357..6149dda3 100644 --- a/exercises/01.use-reducer/01.problem.new-state/README.mdx +++ b/exercises/01.use-reducer/01.problem.new-state/README.mdx @@ -9,4 +9,6 @@ be using it to learn how to use it). The emoji will guide you through this! -📜 [`useReducer` docs](https://react.dev/reference/react/useReducer). +📜 [`useReducer` docs](https://react.dev/reference/react/useReducer) +📜 [How to implement useState with useReducer](https://kentcdodds.com/blog/how-to-implement-usestate-with-usereducer) +📜 [Should I useState or useReducer?](https://kentcdodds.com/blog/should-i-usestate-or-usereducer) From cc8e8c0711019b1494424b2cfc2005a4b5ee50cd Mon Sep 17 00:00:00 2001 From: Zac Jones Date: Wed, 4 Sep 2024 16:01:57 -0600 Subject: [PATCH 2/3] fix: add whitespace --- exercises/01.use-reducer/01.problem.new-state/README.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercises/01.use-reducer/01.problem.new-state/README.mdx b/exercises/01.use-reducer/01.problem.new-state/README.mdx index 6149dda3..bd84cf0e 100644 --- a/exercises/01.use-reducer/01.problem.new-state/README.mdx +++ b/exercises/01.use-reducer/01.problem.new-state/README.mdx @@ -10,5 +10,7 @@ be using it to learn how to use it). The emoji will guide you through this! 📜 [`useReducer` docs](https://react.dev/reference/react/useReducer) + 📜 [How to implement useState with useReducer](https://kentcdodds.com/blog/how-to-implement-usestate-with-usereducer) + 📜 [Should I useState or useReducer?](https://kentcdodds.com/blog/should-i-usestate-or-usereducer) From af787b711d946b9ce45fe7cea3e783c5c82540e9 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 5 Sep 2024 09:50:07 +0200 Subject: [PATCH 3/3] Update exercises/01.use-reducer/01.problem.new-state/README.mdx --- exercises/01.use-reducer/01.problem.new-state/README.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/01.use-reducer/01.problem.new-state/README.mdx b/exercises/01.use-reducer/01.problem.new-state/README.mdx index bd84cf0e..7690d039 100644 --- a/exercises/01.use-reducer/01.problem.new-state/README.mdx +++ b/exercises/01.use-reducer/01.problem.new-state/README.mdx @@ -9,8 +9,8 @@ be using it to learn how to use it). The emoji will guide you through this! -📜 [`useReducer` docs](https://react.dev/reference/react/useReducer) +📜 Here are some handy references: -📜 [How to implement useState with useReducer](https://kentcdodds.com/blog/how-to-implement-usestate-with-usereducer) - -📜 [Should I useState or useReducer?](https://kentcdodds.com/blog/should-i-usestate-or-usereducer) +- [`useReducer` docs](https://react.dev/reference/react/useReducer) +- [How to implement useState with useReducer](https://kentcdodds.com/blog/how-to-implement-usestate-with-usereducer) +- [Should I useState or useReducer?](https://kentcdodds.com/blog/should-i-usestate-or-usereducer)