-
Notifications
You must be signed in to change notification settings - Fork 4
Package Overview
b3hr4d edited this page Mar 11, 2026
·
1 revision
| Package | Purpose | Use it when |
|---|---|---|
@ic-reactor/react |
React bindings, hook factories, auth hooks, query helpers | You are building a React app |
@ic-reactor/core |
Framework-agnostic runtime primitives | You want the reactor runtime without React |
@ic-reactor/candid |
Dynamic Candid fetching and runtime reactors | You need runtime canister discovery or metadata-driven forms |
@ic-reactor/parser |
WASM Candid parser | You need local Candid compilation |
| Package | Purpose | Use it when |
|---|---|---|
@ic-reactor/cli |
Manual code generation | You want explicit generation or a non-Vite flow |
@ic-reactor/vite-plugin |
Vite-integrated code generation and environment injection | You want the best .did edit loop in Vite |
@ic-reactor/codegen |
Shared generation pipeline | You are building custom tooling around IC Reactor generation |
-
@ic-reactor/reactdepends on@ic-reactor/coreand re-exports the runtime classes. -
@ic-reactor/candidbuilds on@ic-reactor/core. -
@ic-reactor/candidcan optionally load@ic-reactor/parserfor local compilation. -
@ic-reactor/cliand@ic-reactor/vite-pluginboth use@ic-reactor/codegen.
- Start with
@ic-reactor/reactfor React apps. - Add
@ic-reactor/vite-pluginif you use Vite. - Use
@ic-reactor/coredirectly for framework-agnostic or service-side code. - Add
@ic-reactor/candidonly when you need runtime canister exploration or metadata features.