Meiosis

It's not a library. It's a simple pattern to manage state in your web application.

All you need is a simple stream library such as Flyd or Mithril Stream to implement the pattern. You do not need anything else, not even Meiosis itself. Add your favourite virtual dom library (React, Mithril, Snabbdom, Inferno, Preact, domvm, etc.) and you are good to go.

Ready to have a closer look?

Read the wiki to get started.

Prefer watching? View the presentation below.

Ready for More?

Why the name Meiosis?

I picked the name Meiosis for three reasons:

  1. it's a biology term for a type of cell division; this is an analogy to the idea of dividing your application into smaller pieces;
  2. it's a figure of speech that intentionally understates something or implies that it is lesser in significance or size than it really is, meaning that this is meant to be small, humble, and not replace what people use, just improve upon it; and
  3. it's a relatively unique name in the JavaScript world, thus making it easy to find information using search engines.

Please note that Meiosis v0.9.x has been archived and is still available for reference purposes.


Credits

Meiosis is the result of a whole adventure of exploring other architectures. Credit goes to their authors; I am grateful for their work and that of their respective communities.


Meiosis is developed by foxdonut (@foxdonut00) and is released under the MIT license.