workleap-squide
Installation
SKILL.md
Squide Framework
Squide is a React modular application shell. Use only documented APIs.
Core Concepts
- Runtime: The
FireflyRuntimeinstance is the backbone of a Squide application. Never instantiate directly — useinitializeFirefly(), which wires up plugins, logging, and the module lifecycle. - Modular Registration: Modules register routes, navigation items, and MSW handlers via a registration function, assembled by the host at bootstrapping.
- Public vs Protected Routes: Routes default to
protected(rendered underProtectedRoutes). UseregisterPublicRoute()for public routes. Protected routes fetch both public and protected global data. - Deferred Registrations: Navigation items dependent on remote data or feature flags use two-phase registration — return a function from the registration to defer items to a second phase.