While aquedux-client public API is reworked to match a middleware-centric vue, the aquedux-server public API is still cumbersome to use.
The proposal is to have a Koa/Express middleware for aquedux-server with an all-in-one redux store. This way it will simply fit on existing Node.JS apps (nextjs apps 😏?).
The API could be split into two packages:
aquedux-server with a full redux-vanilla compatible interface (the same as aquedux-client)
koa-aquedux that uses the previous package and expose a hidden redux store enhanced with aquedux
The aquedux-server API could look like the new aquedux-client api.
The koa-aquedux API could look like:
While aquedux-client public API is reworked to match a middleware-centric vue, the aquedux-server public API is still cumbersome to use.
The proposal is to have a Koa/Express middleware for aquedux-server with an all-in-one redux store. This way it will simply fit on existing Node.JS apps (nextjs apps 😏?).
The API could be split into two packages:
aquedux-server
with a full redux-vanilla compatible interface (the same as aquedux-client)koa-aquedux
that uses the previous package and expose a hidden redux store enhanced with aqueduxThe aquedux-server API could look like the new aquedux-client api. The koa-aquedux API could look like:
Need more thoughts on this, summon @chabou 🎉