gdscrgpv / react-todo

A Todo App using React
https://todogdsc.netlify.app/
2 stars 14 forks source link

implement local storage to the todos #6

Closed redapy closed 3 years ago

redapy commented 3 years ago

-issue

2

-description I've added a localstorage to store data so the user won't lose even he reload. I deleted the initial state for todos, so if the user use it the app first the first time todos will be empty. I added comments on the code to help you understand what I've done.

netlify[bot] commented 3 years ago

✔️ Deploy Preview for todogdsc ready!

🔨 Explore the source changes: b65446cc7541bd990ab2d2e1ab13f44dcbec1eba

🔍 Inspect the deploy log: https://app.netlify.com/sites/todogdsc/deploys/61648c8c893dcc0007c1459f

😎 Browse the preview: https://deploy-preview-6--todogdsc.netlify.app/

redapy commented 3 years ago

okay I'll try to solve the conflicts

redapy commented 3 years ago

@meinhoonharsh I guess all good now. The conflicts were due to double import React and styles.css file.