React-autosuggest: How to use react-autosuggest in redux

Created on 3 May 2016  路  5Comments  路  Source: moroshko/react-autosuggest

Hi,
I am gonna use autosuggest in redux.
autosuggest works very well in flux, but i need to wrap in redux form.
Can you help me?
Please give me example for redux.
Thank you very much.

Most helpful comment

@tonyxiao Just wanted to let you know that redux and react-redux dependencies were removed in v8.0.0.

All 5 comments

The is a link in the README to a bunch of Codepen examples.
One of them is what you want.

On a somewhat related note, I see that react-autosuggest creates a redux store internally to manage its own state. Is there any reason it's a purely internal store rather than allowing users to pass in a store to be used? @moroshko

@tonyxiao What would you gain if you allowed to pass in a store to Autosuggest? Who would be responsible to update this store? Could you provide some code that illustrates your idea?

More thinking along the lines of debugging purposes. Time travel for example would be able to apply to autosuggest. Autosuggest would export reducers / actions and update its own part of the state tree. http://redux-form.com/6.0.2/docs/GettingStarted.md/

@tonyxiao Just wanted to let you know that redux and react-redux dependencies were removed in v8.0.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eldyvoon picture eldyvoon  路  3Comments

mkaemmerer picture mkaemmerer  路  3Comments

Razinsky picture Razinsky  路  3Comments

fondberg picture fondberg  路  4Comments

luke-unifymonitor picture luke-unifymonitor  路  3Comments