jaystack / repatch

Dispatch reducers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using with react-redux

dbryand opened this issue · comments

I'm trying to use repatch with react-redux as described in the docs, but I cannot get past the redux dependency that react-redux has here:

image

Is the expectation that we would also have to install redux?

Thanks!

Unfortunately react-redux needs redux for some reason. When I published repatch this was not the case.

Thanks--do you see another way to effectively use Repatch with React in a large app?

I don't know about this. Possible way is to create a react-repatch lib, but that would be the same in each line, because both of redux and repatch has almost the same interface :) react-redux is a very simple and lightweight lib, which perfectly performs this connection.