loading...

re: Redux VS React Context: Which one should you choose? VIEW POST

FULL DISCUSSION
 

Hello Ibrahima!

github.com/navdeepsingh/react-cont... I got some error like

Please help!

 

You've to replace const saveArticle = ({ article }) => {} with const saveArticle = ( article) => {} or destructuring the values with const saveArticle = ({ title, description }) => {} in context/index.js

 

Ahh yes, figured out too :)
github.com/navdeepsingh/react-cont...

Thanks for reverting back instantly.

 

Alright, let me check what's wrong and come back later.

Code of Conduct Report abuse