Skip to main content

When many packages need to cooperate, do not create one giant store that everyone imports. Let packages meet through Bitfield state, data names, and action requests.

A command center has a file tree, file editor, AI chat, project preview, notifications, keyboard shortcuts, and a sidebar. Each package has its own job. The user still needs one coherent product.The goal is cooperation without fusion: packages share public Bitfield handles instead of turning into one tangled codebase.

Traditional app shape

This code is convenient because everything is reachable. It is dangerous for the same reason.

Bitfield shape

Each package uses the public name it needs. No package imports every other package.

Cooperation map

State

Editor, AI context, and breadcrumbs read the same product fact.

Input

Preview UI reads a prepared view of project status and URL.

Request

A settings surface asks the notification package to change mode.

Private

Temporary UI details stay inside the package rendering them.

Larger chain

Start with a normal product flow:
Traditional app architecture tends to collapse that into one central store:
That looks convenient until every package depends on the central store shape and the central store imports every package.

Shared names, separate packages

Now each package meets the others through public facts, data names, and action names. There is no private central product object.

What this prevents

React is one adapter that can show this chain. The chain itself is Runtime Kit: shared product facts, data names, action requests, private UI state, and package files.

Complete translation example

Add a new package without retangling

Imagine you add a “recent activity” package.

Traditional addition

Bitfield addition:
The new package reads the public facts it needs. Existing packages do not change.

Central-store shortcut

Read public facts instead

Multi-package review checklist

Why this scales past the first screen

The first screen can survive traditional coupling. The tenth screen usually cannot. The problem is not that stores, services, or contexts are evil. The problem is that they make every feature depend on another feature’s private state shape.Bitfield keeps the product language outside any one package:That is what lets package eleven join the product without becoming a patch inside package two.

Review check

When more than two packages are involved, do not solve it by creating appStore, platformStore, globalState, or sharedService. First classify each relationship:

Next

Last modified on May 10, 2026