Help!!
prasanna1985samal
Posted on December 2, 2019
app.js
import React, { useState } from 'react';
import './App.css';
import "bootstrap/dist/css/bootstrap.min.css";
import AddNote from './components/addNote';
import NoteCard from './components/noteCard';
function App() {
const [noteCount, setNoteCount] = useState(localStorage.getItem('noteObjCount') || 0);
const addNote = () => {
setNoteCount(parseInt(noteCount)+1);
};
const deleteNote = (count) => {
setNoteCount(count);
};
return (
);
}
💖 💪 🙅 🚩
prasanna1985samal
Posted on December 2, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
privacy Caught in the Crunch My Journey from Snacks to 200000 Exposed Users Privacy
November 30, 2024