loading...

re: Thinking in React: The 2020 version VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you for writing! I saw some notations that I haven't used myself, so I'll have to keep those in mind. I was surprised to see the shorthand fo...
 

Sure! I can write a follow-up on how to think state and lifecycle the "2020 way". I saw several articles talking about how to move from class methods to hooks, but the idea behind hooks is doing things differently, not doing the same things with a different syntax.

Follow me either in here or in Twitter and I'll write that article soon.

Thanks for the inspiration, I'll mention this comment in the next post if you don't mind 😊

 

You have a new follower! While you are at it, it might be interesting if you can share your thoughts on (shared) state with useState and userReducer in comparison with Redux. As again, I have some projects on which Redux was used, but I have the feeling that the dependency on Redux could be dropped by using use* + Provider. At the same time, Redux might be the better choice for certain problems/scenarios.

code of conduct - report abuse