Relative Content

Tag Archive for reactjsif-statementnext.jslocal-storageblogs

If statement – How to not set Item into localstorage if its invalid

if (myapp !== null && isFormValid ) { setMypp([…myapp, blog]); <== its setting my input values into local storage setDesc(”) setType(”) setTask(”) }else{ <===what goes here? } It’s silly question for you guys but im just learning. Sry for wasting time but can you guys help me. reactjs if-statement next.js local-storage blogs New contributor orgil […]