Joined an Early Adopter Program
Built a feature
Built UI components
Implemented auto save
+2
I recently implemented auto-save on my current project. I created a “needToSave” Boolean that would indicate when the form contained new data that hadn’t been saved. The project is made in React, so I used the useEffect hook to manage the API calls. I then included the needToSave bool in dependency array for the useEffect hook and then made sure to denounce the saving function so the client would t be making too many API calls.