Skip to content

ecsia-monorepo / react/src / WorldProviderProps

Interface: WorldProviderProps

Defined in: react/src/world.ts:74

Properties

world

ts
world: EcsiaWorld;

Defined in: react/src/world.ts:75


relations?

ts
optional relations?: RelationsLike;

Defined in: react/src/world.ts:81

The relations runtime from createRelations(world) — required only by the relation hooks (useTarget / useTargets). Omit it in a relations-free app; the relation hooks then throw a pointed error instead of silently returning nothing.


children?

ts
optional children?: ReactNode;

Defined in: react/src/world.ts:82

MIT licensed · 0.x, unpublished, experimental.