jvm-redux / jvm-redux-api

MIT License
22 stars 4 forks source link

Api proposal : the store state's type is inferred by the creation method #17

Closed glung closed 7 years ago

glung commented 7 years ago

Scope

▲ ▲ ▲ Api update proposal ▲ ▲ ▲

Api proposal: the store state's type is inferred by the creation method and not the Creator object. These approaches are similar, the former is more functional-like when the latter is more OO-like.

But the functional one makes is actually easier to implement the dev-store https://github.com/glung/jvm-redux-devtools-instrument

Here is an implementation example : https://github.com/glung/redux-java/pull/21

@pardom @beyondeye I am opening the debate again : )

glung commented 7 years ago

Hello friends, I've ben waiting a bit for more feedback but I guess I can merge it now.

Thx.