Yes. I wound up figuring it out, but there’s a lot...
# redux
c
Yes. I wound up figuring it out, but there’s a lot of spots in this tutorial where it gets you nearly there without connecting the dots properly. Left me frustrated.
p
Thanks for the feedback. Is there anything in particular that was missing?
c
I’ll make a list. 1. The action classes here do not match the action calls on the reducers portion. https://reduxkotlin.org/basics/actions Either/or needs to be changed to be reflective of the other.
2. The enum name does not match the Typing of the filter variable in the
SetVisibilityFilter
(Same link as above)
3. The typings for Todo is completely omitted in the tutorial, which results in definition errors when you are putting it into the reducers.
4. Nothing is ever explicitly mentioned that you need to use a method reference to call the reducer when creating a store. The only way you might know to do so is by clicking on the reference link to
createThreadSafeStore
but again, it is not explicitly mentioned even there. https://reduxkotlin.org/basics/store
Hope that helps! Think these modification would decrease new user frustration. I really was only able to find my issues and fix them through pre-existing knowledge of Redux and also finding the missing links within the examples in the github repo. Many new users may not be knowledgeable enough or resourceful enough to do so and could just lead to frustration and abandonment on their attempts to use ReduxKotlin.
p
Awesome, thank you. Some of those type params were added and docs were not updated apparently. Some good things in here, I will try to improve those areas.
j
I still found the documentation to be a little misleading and missing some information.