Reselect? Memoize-one? Most of memoization libraries remembers the parameters you provided, not what you did inside. Sometimes is not easy to achive high cache hit ratio. Sometimes you have to think about how to properly dissolve computation into the memoizable parts. Memoize-state is built to memoize more complex situations, even the ones which are faster to recomoute, than to deside that recalculation is not needed. Just because one cheap computation can cause a redraw/reflow/recomputation cascade for a whole application.
https://github.com/theKashey/memoize-state#readmeTags | memoization proxy memoization-library selector memoize performance mapstatetoprops mobx state |
Implementation | Javascript |
License | MIT |
Platform | OS-Independent |
lru-memoize is a utility to provide simple memoization for any pure javascript function, using an LRU cache that prioritizes the most recently accessed values, and discards the "least recently used" (LRU) items when the size limit is reached. If your function has side effects or relies on some external state to generate its result, it should not be memoized. Let's look at an example where we want to memoize a function that multiplies three numbers together, and we want to keep the last ten arguments -> value mappings in memory.
memoize cache caching es7 decoratorA memoization library that only caches the result of the most recent arguments. There are only two hard things in Computer Science: cache invalidation and naming things.
memoize performance memoization cachemoize is a consistently blazing fast memoization library for JavaScript. It handles multiple parameters (including default values) without any additional configuration, and offers a large number of options to satisfy any number of potential use-cases. All parameter types are supported, including circular objects, functions, etc. There are also a number of shortcut methods to memoize for unique use-cases.
memoization performance cache expire lru memoize optimize promise ttlMemoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
memoize function mem memoization cache caching optimize performance ttl expire promiseA collection of the most useful property decorators.
decorators debounce throttle-calls memoize memoizationI was disappointed with all the current state management solutions. Then I found mobx-state-tree, which seemed like a godsend to me (ok not really, but I liked the concept), but it was pretty big in terms of file size (mobx alone is big: 16.5kB). So I thought it's surely possible to make a smaller version of it, that's how this started. And after 2 failed attempts I can finally say: Here it is in all of its "glory". Note: This library uses Proxies and Symbols. Proxies cannot be fully polyfilled so you have to target modern browers which support Proxies.
state state-machine preact react reduxMobX is a battle tested, simple and scalable state management library transparently applying functional reactive programming (TFRP). The Mobx design principle is very simple: Anything that can be derived from the application state, should be derived. Automatically. This includes the UI, data serialization, server communication, etc.
mobx reactive-programming react typescript mobservable observable react-component reactjs reactive model frp functional-reactive-programming state-management data-flow reactive-library functional-reactive streamsOpinionated, transactional, MobX powered state container
mobx mobx-state-tree promise reactive frp functional-reactive-programming state-managementThis library is an attempt to make the fastest possible memoization library in JavaScript that supports N arguments. The fastest cache is used for the running environment, but it is possible to pass a custom cache to be used.
memoization jsMobX for the Dart language. MobX is a state-management library that makes it simple to connect the reactive data of your application with the UI. This wiring is completely automatic and feels very natural. As the application-developer, you focus purely on what reactive-data needs to be consumed in the UI (and elsewhere) without worrying about keeping the two in sync.
dart mobx reactive state-management flutterEvery app is meant to be small, simple, and the same as each other. The only difference should be the state management decisions of each. The repeated React and ReactNative app is a Packing List, with the name based on the state technology.
react react-native redux mobx mobx-state-tree apollographql appsync react-automata unstated freactal state-management unistore apollo appsync-sdk immer microstates pure-store react-observable-store reduxx rematch state museumDerivables are an Observable-like state container with superpowers. Think MobX distilled to a potent essence, served with two heaped tablespoons of extra performance, a garnish of declarative effects management, and a healthy side-salad of immutability. Atoms are simple mutable references to immutable values. They represent the ground truth from which all else is derived.
immutable cursor typescript functional state react reactive dynamicReact server-side rendering optimization with component memoization and templatization
react-server server-optimization rendering-optimizations component-memoization html-markup isomorphic universal-react optimization react-server-render react-rendering react server-side memoization templatization cache cachingA data store with declarative querying, observable state, and easy undo/redo. One of the best things about the store is that you can use it with mobx-react because it's based upon MobX. This also means that when you mutate your objects you don't need setState() calls because MobX will handle all the updating for you.
unmaintainedThat being said, it is pretty safe to adopt this project in the sense that just as scaffolding tool it can be pretty beneficial, even if it doesn't cover all cases of your project.
mobx-state-tree graphqlA set of tiny, composable React components for handling state with render props. It does this using a small render-prop-based API that exposes helpful transforms like toggle, increment, filter, etc. depending on the type of value, all based on JavaScripts native value types...
react components state-management render-props headless boolean component date map mobx number prop props redux render renderless set state stateful string type types value valuesUtility functions and common patterns for MobX
mobx mobx-utils promise reactive frp functional-reactive-programming state-managementMost of the time, I see colleagues starting React projects setting up Redux + a bunch of middlewares and store enhancers by default, regardless of the project nature.Despite Redux being awesome, it's not always needed and it may slow down the process of onboarding new developers, especially if they are new to the React ecosystem (I have often seen colleagues being stuck for hours trying to understand what was the proper way to submit a simple form).
react state management preact redux setstate mobxNuster is a simple yet powerful web caching proxy server based on HAProxy. It is 100% compatible with HAProxy, and takes full advantage of the ACL functionality of HAProxy to provide fine-grained caching policy based on the content of request, response or server status. Nuster is very fast, some test shows nuster is almost three times faster than nginx when both using single core, and nearly two times faster than nginx and three times faster than varnish when using all cores.
cache caching http proxy high-performance proxy-server web-proxy http-proxy
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.