Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.18 KB

This project was bootstrapped with Create React App.

Why

I built this take on TodoMVC to learn RxJS. I specifically set out to develop a single state solution and to experiment with serializable, time-travelable state by composing observables.

I ended up with a few nice architectural solutions that I would like to talk about:

  • Creating stateful observables using RxJS's BehaviourSubject
  • Composing a map of observable into a single state observable.
  • Using get/set defenitions for stateful observables allowing developers to update state in a mutuabale like fashion whil maintaining immutability.
  • Abstracting operational state from model state.
  • Using transactions to read, update, and remove from state.

Throughout the process I also experimented with point-free style and other functional programming concepts.

Documentation

Documentation generatoed using (typedoc)[https://typedoc.org/] can be found here

How Does It Work

Stateful observables

TODO

A single state observable

TODO

Mutable yet immutable

TODO

Operational state

TODO

Transactions

TODO