|
|
|
|
|
by wwww4all
1949 days ago
|
|
The “pretends” comment is light hearted joke (or is it?) about keeping Redux UI library agnostic. When we all know React is the 8000 pound gorilla pulling on Redux. The default assumption for any production React application is that it will need Redux at some point. It’s much more efficient to start the React project with Redux, than trying to bolt on Redux after React project is underway after a while. Redux Toolkit does make things bit easier. It’s like how React pretends that JSX is optional, when we all know JSX is requirement in React projects. Thanks for all the work on Redux and Redux Toolkit. |
|
Yeah, as I've been redoing our docs, I've really tried to emphasize the "take some time to decide if you _really_ need Redux" aspect:
https://redux.js.org/tutorials/essentials/part-1-overview-co...
FWIW, we do take the "UI-agnostic" part seriously. We've got an upcoming new API for Redux Toolkit that we've dubbed "RTK Query", currently available as a preview release. We've got an example of it working with Svelte, and I know I saw someone else trying it out with Vue:
https://rtk-query-docs.netlify.app/examples/svelte