cjss-group / CJSS

A CSS based web framework
https://cjss.js.org/
MIT License
670 stars 20 forks source link

Service workers and local storage #20

Open scottkellum opened 5 years ago

scottkellum commented 5 years ago

Choose what data and components to persist with service workers and local storage

KargJonas commented 5 years ago

This could actually be really nice with --persistent or something like that. I think we need to implement #14 first tho.

c-harding commented 5 years ago

This sounds like a really awesome idea! Scoping is going to be hard, such that the data can properly be shared between components and pages. I guess it’s the purpose of this project, but it’s making me realise how awkward it is to do something even as simple as parsing two arguments to a function in CSS if either one of them can be an arbitrarily complex JSON expression.