Introduction to MobX

Reactive Programming

In computing, reactive programming is a programming paradigm oriented around data flows and the propagation of change.

Wikipedia

const a = b + c;

=B1+C1

So, What is MobX?

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming.

MobX docs

Anything that can be derived from the application state, should be derived. Automatically.

MobX docs

Core Concepts

Observable State

Computed values

Reactions

Actions?

Demo

When?

That's It!

f.strazzullo@e-xtrategy.net

@TheStrazz86

https://github.com/e-xtrategy/mobx-examples

Thanks!

Introduction to MobX

By Francesco Strazzullo

Introduction to MobX

An introduction to MobX

  • 2,680