Financial tips and advice on investment for developers:
"Learn how to free extra monthly cash from your dev-salary for investment"
There are so many different ways to free money for investments without thinking of getting another job. Download my Top-15 cash-freeing tips cheat sheet.
Clear Form in Redux when Navigating with React-Router
19 Mar, 2017
Hi there!
I have worked on my project using a React-Redux architecture with React-Router for navigation. I have implemented forms for adding and editing resources. I have observed weird behavior:
Add new resource with a description: “Hello World!” Start editing another resource with a description: “My new comment…” Input for description contains a previous value: “Hello World!” I was expecting to see the current description of the resource: “My new comment…”, not the value from the previous form.