|
|
|
|
|
by cloths
959 days ago
|
|
Good question! When I built, I chose URL over localStorage for visibility, with localStorage you'd have to dig into development console. But the main reason is self-contain, with data in URL you can easily share your todo list to someone (although it's awkward as the URL would be very long), once they have the URL they have everything they need, this also applies to if you want to save the todo list somewhere and work back on later, maybe on a different browser or after you cleared browser. With data in the URL you also comes with undo function by click on "Go back" naturally without me having to implement it. |
|