teedux
teedux copied to clipboard
Mention redux-toolkit
Hello!
Thanks for your work!
I'm not a long-term user of your solution, but today I've gotten link of your repo.
And I've noticed your repo as yet one solution of famous redux problems
For new or some old users - I suggest you to mention redux-toolkit in official README
Yes, I know that it's your a training project, but some user could use it or write theirs own implementation
@cytrowski please, look at this)
Hie @martis-git :) Thank you for mentioning that project. Indeed I learned about it after building teedux - they overlap but I don't feel they solve the exact same problem. I totally ignore the existence of async actions and you can use teedux with React's native useReducer
since it'a all about decomposing reducer in a clever way :)
I haven't thought about it like that before but I don't even need redux to use teedux ;)
Ok, I get your point)
But also - your README and conception has real redux mentions and cause of it - your solution real looks like some redux-inspired lib

After all - final solution by you, I just recommend to mention yet one project as corresponsing solution in redux world ✌️
I get your point too :) I can think of adding another section - let's say "similar libraries" or rephrasing what you wrote like this:
I made this library before I learned about the
redux-toolkit
so even though they may look like solving the same problem they only overlap and do their own tradeoffs in the process of making the redux less boilerplate-based.
And speaking of the mentions of "redux" - that's the legacy here :) I did it before hooks were a thing in React. And React is not the only lib out there which can make use of teedux so I decided to keep it redux-related for better recognition. I think of redux like the most basic form of all we have related to global state management.
Okay)
Really, final solution - by you
I can suggest another varitations of redux-toolkit
mentioning, but if you think that it will be redundant little bit - I understand your opinion =)
In this case - may be it makes sense to close PR at all
Thanks for your time
I'm really glad you started this thread though :D And thanks for all the insights :) I kinda didn't update it for a very long time since it works for me as it is. Maybe with the new TS features it's a good idea to review the typings ;)
I'll keep this open as a reminder for myself to update the README anyway :) Cheers