jquery-cookie
By carhartl
store.js
Cross-browser storage for all use cases, used across the web. (by marcuswestin)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
jquery-cookie | store.js | |
---|---|---|
2 | 6 | |
8,670 | 13,979 | |
- | - | |
0.0 | 0.0 | |
almost 9 years ago | 4 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
jquery-cookie
Posts with mentions or reviews of jquery-cookie.
We have used some of these posts to build our list of alternatives
and similar projects.
-
jQuery $.cookie is not a function
I have downloaded the jQuery cookie plugin here.
-
What is the shortest function for reading a cookie by name in JavaScript?
The method that jQuery.cookie uses something like this (modified, 165 bytes, 125 minified):
store.js
Posts with mentions or reviews of store.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-19.
-
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
-
Webpacker vs import maps : any thoughts ?
Some javascript libraries require you to configure them using webpack. For example, https://github.com/marcuswestin/store.js/ , if you want to use sessionstorage only without anything else. You need to rebuild the library using webpack. If you can tinker with building libraries and providing custom builds that suit your need and load them into importmap, then it is better to use importmap.
-
Vuex State data empty after reloading the page
I'm using store package to persist data after page reload.
-
Are mixins shared/single instance, or one instance for each component that uses the mixin?
store is basically a localStorage wrapper. If you want your data to persist even if on page reload, you might consider using it.
-
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?
When comparing jquery-cookie and store.js you can also consider the following projects:
js-cookie - A simple, lightweight JavaScript API for handling browser cookies
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
cookies.js - 🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.
lockr - A minimal API wrapper for localStorage
Cookies - JavaScript Client-Side Cookie Manipulation Library
lawnchair.js - A lightweight clientside JSON document store,
bag.js - JS / CSS / files loader + key/value storage
basil.js - The missing Javascript smart persistent layer
LokiJS - javascript embeddable / in-memory database