FFalCAD docs

0006 — One renderer for web and desktop

Status: accepted

Decision

The application is one React/TypeScript renderer. A PlatformAdapter hides the differences: in the browser, the File System Access API or origin-private storage; on the desktop, a typed Electron bridge. Electron adds only:

An end-to-end test proves the renderer has no require or process and only the declared bridge, and that the main process refuses forged handles.

Consequences

Features ship once on every platform. Platform-specific abilities (native toolchains, USB) are reported through the capability registry, never assumed.