zidoro / pomatez

Stay Focused. Take a Break.
https://zidoro.github.io/pomatez/
MIT License
4.07k stars 171 forks source link

refactor(store): move old redux code to redux toolkit #594

Closed dubisdev closed 10 months ago

dubisdev commented 10 months ago

As the official docs says the createStore method is deprecated. This PR moves all the stores to redux-toolkit which is:

dubisdev commented 10 months ago

Hi @sekwah41 this PR is ready for now.

The new redux code for the tasks store is missing, but we can migrate it in other PR (this PR is big enought and the tasks store is more complex as it uses redux-undo).

sekwah41 commented 10 months ago

Ill try to review this tomorrow, though will review it at least at some point next week :)

dubisdev commented 10 months ago

Hey @sekwah41 any news on this?

I know it's a big PR but I think it's worth it having this merged before creating another store to save the custom shortcuts settings

sekwah41 commented 10 months ago

Sorry my bad. I should have time tomorrow but if I can I'll do it tonight.

sekwah41 commented 10 months ago

Tested on both the electron and tauri versions and seems fine