Righteous Wrath Online Community

General => Tech Chat => Topic started by: Mr. Analog on November 04, 2020, 08:11:18 AM

Title: What I learned after 5 years of React development
Post by: Mr. Analog on November 04, 2020, 08:11:18 AM
Some good points here, good reading for someone wanting to get into React

https://livecodestream.dev/post/2020-11-03-what-i-learned-after-4-years-of-react-development/

Sent from my SM-T810 using Tapatalk

Title: Re: What I learned after 5 years of React development
Post by: Thorin on November 04, 2020, 01:05:05 PM
Yeah, pretty good read.  At the speed that React has been changing, it's hard sometimes to google correct answers for how to solve a problem, though.  But hooks and effects were an excellent addition.
Title: Re: What I learned after 5 years of React development
Post by: Mr. Analog on November 04, 2020, 01:06:28 PM
I'm still not sold on hooks and effects, classes make much more sense to me for some reason

Sent from my SM-T810 using Tapatalk

Title: Re: What I learned after 5 years of React development
Post by: Thorin on November 04, 2020, 05:00:11 PM
I think the hardest thing for me to understand when I started with React was that we were also using Redux, and there's this idea of component state and redux state, and that loosely translates to page state and site state.  Once I learned about effects, it became more obvious the difference between the two.
Title: Re: What I learned after 5 years of React development
Post by: Mr. Analog on November 04, 2020, 06:33:14 PM
Quote from: Thorin on November 04, 2020, 05:00:11 PMI think the hardest thing for me to understand when I started with React was that we were also using Redux, and there's this idea of component state and redux state, and that loosely translates to page state and site state.  Once I learned about effects, it became more obvious the difference between the two.

Yeah I haven't gotten into Redux myself, we use Context API though for a few things but I haven't gotten into the nuts and bolts of it or rather the parts that use it haven't been on my radar yet.