After I read this post, I was sad because I already converted a certain part of my app to use RTK. Then I went and read about the React Context and was relieved. Hence this reply.
React docs cautions using Context API in large-scale devs focused on components. React doc says it can become complicated and component reusability will be affected. For small apps not focusing too much on component-based development Context API may be ok. I believe React is all about building components.
With regards to RTK, the examples out there doing a good job might need a bit of decluttering. In fact, RTK is pretty simple just use it and it will work. To be honest, I am just about to enter Async, Thunks Saga, my opinion might change when I enter there then I might change my reply
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
After I read this post, I was sad because I already converted a certain part of my app to use RTK. Then I went and read about the React Context and was relieved. Hence this reply.
React docs cautions using Context API in large-scale devs focused on components. React doc says it can become complicated and component reusability will be affected. For small apps not focusing too much on component-based development Context API may be ok. I believe React is all about building components.
With regards to RTK, the examples out there doing a good job might need a bit of decluttering. In fact, RTK is pretty simple just use it and it will work. To be honest, I am just about to enter Async, Thunks Saga, my opinion might change when I enter there then I might change my reply