MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). Write minimalistic, boilerplate free code that captures your intent. Trying to update a record field? Use the good old JavaScript assignment. Updating data in an asynchronous process? No special tools are required, the reactivity system will detect all your changes and propagate them out to where they are being used. All changes to and uses of your data are tracked at runtime, building a dependency tree that captures all relations between state and output. This guarantees that computations depending on your state, like React components, run only when strictly needed. There is no need to manually optimize components with error-prone and sub-optimal techniques like memoization and selectors.

Features

  • Makes your code decoupled, portable, and easily testable
  • All changes and uses of data are tracked at runtime
  • No need to manually optimize components
  • Allows you to build big apps easily
  • Uses proxies to make arrays and plain objects observable
  • Properties, objects, arrays, maps and sets can all be made observable

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow MobX

MobX Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MobX!

Additional Project Details

Programming Language

JavaScript, TypeScript

Related Categories

JavaScript File Managers, JavaScript Application Servers, TypeScript File Managers, TypeScript Application Servers

Registered

2021-01-20