
Marc Francis
@marcfrancissAll solutions
Galleria Slideshow Site (React | Typescript | Sass | Vite)
#react#sass/scss#typescript#vite#framer-motionSubmitted 7 months agoSpace tourism multi-page website (React | Sass | Typescript | Vite)
#react#sass/scss#typescript#viteSubmitted 8 months agoBookmark landing page (React | Typescript | Sass | Vite)
#accessibility#react#sass/scss#typescript#viteSubmitted 8 months agoLoopstudios landing page (React | Sass | Typescript | Vite)
#react#sass/scss#typescript#viteSubmitted 8 months agoTic-Tac-Toe Game (React | Typescript | Sass | Vite)
#accessibility#react#sass/scss#typescript#viteSubmitted 8 months agoE-commerce product page (React | Typescript | Sass | Vite)
#accessibility#react#sass/scss#vite#typescriptSubmitted 8 months agoMortgage Repayment Calculator (ReactJS | Typescript | Vite | Sass)
#react#sass/scss#typescript#viteSubmitted 9 months agoStill unsure if this is the proper way to do reset the form. Any advice will be greatly appreciated.
useEffect(() => { if (onReset) { // resets the data to blank setMortgageData({ amount: "", year: "", interest: "", type: "", mMonthly: "", mInterestOnly: "", mTotal: "", }); // resets the errors to false, so it will not show setErrors({ amount: false, year: false, interest: false, type: false, }); // returns reset button to default state setReset(false); } }, [onReset]);
Thank you for taking the time in checking this project. 💕
I hope this somehow help you in what you're looking for. Cheers! 🍻