Wolox / react-chat-widget

Awesome chat widget for your React App
MIT License
1.43k stars 457 forks source link

change to context-api #96

Open adantoscano opened 5 years ago

adantoscano commented 5 years ago

Just a question. Could we move from redux to React built-in context api?

pabloferro commented 5 years ago

Hey!

We are open to changing this, maybe we can discuss the benefits first?

Also, how would we handle the helper functions like addResponseMessage (they dispatch actions now)?

adantoscano commented 5 years ago

Here explains how to dispatch actions in Context. We can do same, don't we?