Closed tmornini closed 7 years ago
yep it's gonna have to happen sooner or later.
@tmornini @brandondees we'll use the window.localStorage
Web API.
I'm not initiated on the detailed requirements but best stick with whatever's established for this (not sure if there is a prescription / requirement on persistence at any level): http://todomvc.com/
@brandondees @tmornini there's a (general) spec for this as well. https://github.com/tastejs/todomvc/blob/master/app-spec.md
Have addressed as checklist item in PR https://github.com/devpunks/snuggsi/issues/89
/cc @halorium
@brandondees @tmornini @halorium Found the comparative examples. Man look.... if this is "A simple TODO in VANILLA JS" then the web is all fucked up!: /cc @pachonk
Here's others we can use as a Benchmark (Pun intended)
Found this to use as a "Vanilla JS" ES6 reference to the concept of the mixin Storage (HTMLElement)
As an aside I think this would be a great Mixin to have as an example anyways. Of course after we refactor about 70% of their code away:
https://github.com/tastejs/todomvc/blob/gh-pages/examples/vanilla-es6/src/store.js
Wow @snuggs, you got busy on this quick. Cool. Excited to see the final product. I have built the Todo MVC app in about 3 different frameworks before so it will really help me understand what you have built.
Found a better "Store" May want to hold on to this one. Thank you RiotJS /cc @btakita
https://github.com/tastejs/todomvc/blob/gh-pages/examples/riotjs/js/store.js
Speaking with @halorium about snuggsi today, and he mentioned that most JS frameworks (cough) have a TODO app demo and that having one would make it easier to compare with the other frameworks.