mobxjs/mobx-state-tree
View on GitHub ↗ ★ 7,053 TypeScript
Full-featured reactive state management without the boilerplate
21 mentions on Hacker News by 18 people: 1 story, 20 comments · first 2016-11-23 · latest 2022-12-26
20082026
-
…allow you sync complex state easily. Typed models are also a plus. Drawbacks are performance (see https://github.com/mobxjs/mobx-state-tree/issues/1267 ). Previously was using immer, which I loved because of immutability but moved off…
comment by bhl · 2022-12-26 · in Ask HN: What is your favorite front end state management solution? -
…can fill me in). " IIUC, this sounds a lot like what MWeststrate does with Mobx-State-Tree^1 1. https://github.com/mobxjs/mobx-state-tree
comment by chrisweekly · 2020-09-26 · in Towards Principled Reactive UI -
…[2] mobx-state-tree also has a schema validation library that works to some extent statically: https://github.com/mobxjs/mobx-state-tree/ [3] https://github.com/gcanti/io-ts#branded-types--refinements [4]…
comment by AriaMinaei · 2020-03-13 · in Designing the perfect TypeScript schema validation library -
…a bit of ceremony [2] to deal with. Really looking forward to get rid of that boilerplate. [1] https://github.com/mobxjs/mobx-state-tree [2] https://lorefnon.tech/2019/08/15/dealing-with-circular-type-...
comment by lf-non · 2019-09-13 · in TypeScript 3.7: The Biggest Features and How to Use Them -
…restores type-safety. This is of-course a hack but has proven to work fairly well in practice. [1] https://github.com/mobxjs/mobx-state-tree [2] https://github.com/kentcdodds/babel-plugin-macros [3] https://github.com/ts-delight/async-to-ge…
comment by lf-non · 2019-08-29 · in TypeScript 3.6 -
…generates interfaces. Obviously only works for you if you're using Mobx, but we love it. https://github.com/mobxjs/mobx-state-tree
comment by rkuykendall-com · 2019-05-30 · in TypeScript 3.5 -
…nice balance of state management that also is compatible with all the nice Redux browser tools https://github.com/mobxjs/mobx-state-tree
comment by jadbox · 2019-04-22 · in Svelte 3: Rethinking Reactivity -
…benchmarking to comment on in more depth. Some libraries that use Proxies to great effect are the https://github.com/mobxjs/mobx-state-tree and https://github.com/mweststrate/immer libraries both by mweststrate
comment by benjaminjackman · 2019-01-21 · in Meta Programming in JavaScript with Proxies -
…you should just bless mobx-state-tree in the starter too? (immer is built by the same mobx guy) [1] https://github.com/mobxjs/mobx-state-tree (I have not actually use the library yet. Secretly hoping you'll will tell me about all the cons…
comment by zawerf · 2018-10-15 · in Show HN: I Built a Metasearch Engine with React, Redux, Express and TypeScript -
An alternative to redux is mobx-state-tree, which has something along these lines as well. Very cool. https://github.com/mobxjs/mobx-state-tree/blob/master/packag...
comment by latchkey · 2018-05-14 · in Event Sourcing made Simple -
The examples contain some tests f.i. https://github.com/mobxjs/mobx-state-tree/blob/master/packag...
comment by joostdevries · 2018-04-25 · in Redux – Not Dead Yet -
…with MST, most notably if your data modelling involves A LOT of entities, things can get slow: https://github.com/mobxjs/mobx-state-tree/issues/440 . Binding methods on every instance of an object is a lot of overhead. I really liked using…
comment by AWebOfBrown · 2018-04-25 · in Redux – Not Dead Yet -
…them. The ability to use middleware to implement things like undo [1], is really powerful. [1] https://github.com/mobxjs/mobx-state-tree/tree/master/packag...
comment by latchkey · 2018-04-20 · in Io-to: both static and dynamic type checking for JSON API data in TypeScript -
…various other middleware. Standard redux is just too low-level. Take a look at Mobx State Tree https://github.com/mobxjs/mobx-state-tree
comment by Bizarro · 2018-04-10 · in Learn React by building a web app -
…about either to make any witty remarks but I'd like to see the impact they have on the field. [1] https://github.com/mobxjs/mobx-state-tree#thanks see tcomb [2] https://clojure.org/guides/spec
comment by zengid · 2018-04-07 · in Are unsound type systems wrong? -
As an aside (and since you brought up snapshots), mobx state tree https://github.com/mobxjs/mobx-state-tree seems to have combined the ease of use of Mobx with the power (and beyond) of Redux and its ecosystem. I watched a video about Vuex…
comment by Bizarro · 2018-02-11 · in How and why we moved to Vue.js -
…and the async communication parts. https://github.com/jnorth/megalith/blob/master/docs/examples... https://github.com/mobxjs/mobx-state-tree#creating-async-pro...
comment by north · 2017-07-26 · in Show HN: Kea – The power of Redux with the simplicity of MobX -
…called MST (short for mobx-state-tree), which was a kind of answer to redux. A direct quote from https://github.com/mobxjs/mobx-state-tree > mobx-state-tree is a state container that combines the simplicity and ease of mutable data with…
comment by solidr53 · 2017-07-06 · in How to optimize React applications that use Redux -
I'm eagerly awaiting mobx-state-tree. Basically the best of both worlds. https://github.com/mobxjs/mobx-state-tree
comment by jbrantly · 2017-05-05 · in Build Yourself a Redux