Comments (1)
Component models are only being cached in localStorage, so they don't need to support both.
Model models are normally used for APIs, but they can be put in localStorage if a component model has a model model nested inside it.
So a good standard (I think) would be to have model models all have encoder
and possibly cacheEncoder
IF needed, and to have component models just have cacheEncoder
.
from web-app-kickstarter.
Related Issues (20)
- Script for developing
- Log out button
- Add READMEs for frontend/backend.
- Bcrypt password on frontend as well HOT 1
- Profile page should allow account modification.
- Switch to JWT
- Fix URL bugginess
- Possible two-way data bindings with the Router and the model HOT 2
- On 401 Unauth log user out
- Deployment script (to AWS) HOT 1
- Localstorage state passed in as program flag
- Rethink encode/decoder/cacheEncoder/cacheDecoder situation. HOT 1
- Move out `validModel` into it's own typed npm library.
- Update Elm to 0.18
- Models for Pages should not be the same
- Switch `components` to pages
- Switch env variables to flags
- Add tests HOT 1
- Storing JWT in localStorage is a bad practice
- Switch backend to typescript HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-app-kickstarter.