pauldijou / redux-act

An opinionated lib to create actions and reducers for Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

are bindTo/assignTo problematic with SSR?

advance512 opened this issue · comments

I was using them and enjoying them, but then I read this:

reduxjs/redux#916 (comment)

Is this an issue I will face later on, when I do SSR?

Yes, it is. You cannot bind / assign when doing SSR.

That ain't fun.

Potentially, one can create assigned versions (assignTo) per request, I guess. I dislike the pattern of creating dispatch-bound action creators per component.