crumbsjs
store.js
Our great sponsors
crumbsjs | store.js | |
---|---|---|
- | 6 | |
232 | 13,977 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 3 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
crumbsjs
We haven't tracked posts mentioning crumbsjs yet.
Tracking mentions began in Dec 2020.
store.js
-
Why dont we simply persist state in local storage, instead of using global state management
it's not made up, feel free to look it up. In older versions if the site was in a private window, writing something to localStorage would throw an exception. Was a pain in the ass and caused a lot of bugs. https://developer.apple.com/forums/thread/71593 https://news.ycombinator.com/item?id=17231508 https://github.com/marcuswestin/store.js/issues/42
-
How to persist only a few state items with localstorage?
I've been using store, it's basically a localStorage wrapper.
-
Deployed my first React project.. yes, a Pokedex.
and the pokemon user can catch is saved using session based local storage, Store js (https://github.com/marcuswestin/store.js)
What are some alternatives?
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
jStorage - jStorage is a simple key/value database to store data on browser side
lockr - A minimal API wrapper for localStorage
lawnchair.js - A lightweight clientside JSON document store,
basil.js - The missing Javascript smart persistent layer
js-cookie - A simple, lightweight JavaScript API for handling browser cookies
basket.js - A script and resource loader for caching & loading files with localStorage
Dexie.js - A Minimalistic Wrapper for IndexedDB
sql.js - A javascript library to run SQLite on the web.
cookies.js - 🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.
Cookies - JavaScript Client-Side Cookie Manipulation Library
LokiJS - javascript embeddable / in-memory database