Comments (7)
do you have a fuller example of what you're trying to accomplish and how the current api falls short?
from html.
do you have a fuller example of what you're trying to accomplish and how the current api falls short?
I wanted to fetch out a range of values from Storage interface. For example get me all values in between fruit-apple
and fruit-orange
.
One can't do that with the current Storage interface as it allows only pulling out single value using getItem
.
So I suggest we should have a feature to pull out range of values out of Storage interface.
from html.
Are there any libraries that offer this functionality and how popular are they?
In general though I would not expect us to add much new functionality to localStorage
or sessionStorage
as they unfortunately offer synchronous I/O which is not great for performance.
from html.
Indeed. I'd rather have some reasonable API on top of IndexedDB, or make IndexedDB itself easy to use.
from html.
Are there any libraries that offer this functionality and how popular are they?
There are no libs to work on top of Storage api. As the underlying lib do not have any kind of iterators or complex search feature themselves.
from html.
Indeed. I'd rather have some reasonable API on top of IndexedDB, or make IndexedDB itself easy to use.
yeah IDB can be used, but cases where Storage(local/session) is needed there in we do not have some complex search features to help out.
from html.
Let's close this, as we have signals from multiple implementers that the sync storage APIs are not going to be extended.
from html.
Related Issues (20)
- The order in which custom element callbacks are called does not match implementations
- `insertAdjacentHTML` and related methods should rethrow error after invoking "Get Trusted Type compliant string" HOT 3
- structuredClone into (Shared) ArrayBuffer HOT 7
- Import HTML HOT 2
- Upcoming WHATNOT meeting on 2024-07-18 HOT 3
- Make an exhaustive list of incompatibilties with SGML HOT 2
- Provide some way of changing an elements location in the DOM tree without triggering connect/disconnect CEReactions
- Redundant step for button in body HOT 1
- "Fragment serializing algorithm" outputs node itself instead of its contents for elements in non-HTML documents HOT 1
- HTMLOptionsCollection index replacement seems inconsistent HOT 1
- Static checker for the spec? HOT 5
- Meeting 4 for joint OpenUI-WHATWG/HTML-CSSWG task force on styleable form controls HOT 2
- Extend current slot beyond shadow-DOM or create a new slot like element
- Auto directionality of slot behaves different than for other elements HOT 1
- VideoFrame is missing from the "not origin-clean" definition for CanvasImageSource HOT 2
- Should orientation metadata (such as exif) be used when drawing HTMLImageElements/SVGImageElements to canvas? HOT 4
- createPattern does not define how to resolve images without defined natural dimensions (e.g. some SVG images) HOT 2
- Upcoming WHATNOT meeting on 2024-07-25 HOT 5
- Toggle (show/hide) button HOT 6
- The dialog tag open has a black border 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 html.