Concepts

These pages explain how Nib works underneath. None of them is required to build an app, but they make the behaviour predictable.

  • Architecture: two processes, one socket, what travels over it, and the two ways an app is launched.
  • Reactivity: how a property assignment becomes a patch, what is reactive, batching, threads.
  • Views and Events: the view tree, identity, modifiers as constructor arguments, and every callback a view can take.
  • Assets and Fonts: where images and fonts are looked up, in dev mode and in a built app.
  • Wire Protocol: the messages between an SDK and the runtime, for writing a nib SDK in another language.