A simple use case is a seeded shuffle algo.
A simple use case is a seeded shuffle algo.
It's a useful feature of private fields. As is classes defined inside a class being able to access the private fields of the parent, which allows creating safe Foo, FooController objects without regressing perf by using WeakMaps.
It's a useful feature of private fields. As is classes defined inside a class being able to access the private fields of the parent, which allows creating safe Foo, FooController objects without regressing perf by using WeakMaps.
Inventory can also be a separate endpoint requested periodically as they browse, or sit on a page. No need to re-fetch name and description.
Inventory can also be a separate endpoint requested periodically as they browse, or sit on a page. No need to re-fetch name and description.
If someone viewed that screen before you, there's a possibility of it being stale, unless you never cache your bundles on a CDN.
If someone viewed that screen before you, there's a possibility of it being stale, unless you never cache your bundles on a CDN.
Another example is a shopping cart where the list of items in the cart is in local storage, the user has the item data already since they were on the pages of each item when adding to cart.
Another example is a shopping cart where the list of items in the cart is in local storage, the user has the item data already since they were on the pages of each item when adding to cart.
It's pretty common for some data on one page to be used on the next page, or a page after that.
It's worth bundling items in a list because of DB efficiency, but single units shouldn't be bundled with other single units IMO.
It's pretty common for some data on one page to be used on the next page, or a page after that.
It's worth bundling items in a list because of DB efficiency, but single units shouldn't be bundled with other single units IMO.
It works quite well, and I've yet to find any kind of reactive primitive you can't build with it.
It works quite well, and I've yet to find any kind of reactive primitive you can't build with it.