Redux Insights: Redux Toolkit 2.0 plan and initial work

preview_player
Показать описание
An overview of our plans for development of Redux Toolkit 2.0, including:

- Dropping build compatibility for ES5/IE11
- Modernizing published build artifacts for ESM support
- Removing deprecated APIs
- Redux core 5.0 / TS conversion

Рекомендации по теме
Комментарии
Автор

Thanks for the video, appreciate all your efforts. Hope you get Mod friends for reddit soon. Wish I can be some day able to assist when mute enough

BsiennKhan
Автор

It was a great livestream! Also thanks a lot for the recorded version on youtube! Liked + subscribed

bkatsevych
Автор

It would be nice if the new version can do dispatch without having to explicitly declare it. 'connect' used to help achieve that, but i wonder if its possible for createSlice actions to be self-dispaching.

marcpanther
Автор

In an unrelated note, why is `useSelector` the recommended solution over `connect`?
The former seems to couple stuff back into the UI side.
Also, that seems to make mocking harder?

I find it odd that new stuff like Recoil and `useSelector` is putting thing back into the UI. Usually, only Hello World examples would do that, while real large-scale projects would decouple state-management from the UI, no?

marcpanther