Interface: SubContainerProviderProps
Defined in: src/wirestate-react/provision/sub-container-provider.ts:45
Represents props for SubContainerProvider.
Properties
activate?
readonly optional activate?: ContainerActivation;Defined in: src/wirestate-react/provision/sub-container-provider.ts:71
Services to resolve immediately.
Remarks
Pass an array to activate specific services. Listed services must also be present in the entries array. Pass true to activate all provided entries.
children?
readonly optional children?: ReactNode;Defined in: src/wirestate-react/provision/sub-container-provider.ts:76
React subtree that receives the child container.
entries
readonly entries: InjectableEntries;Defined in: src/wirestate-react/provision/sub-container-provider.ts:62
Services or descriptors bound inside the child container.
Remarks
The child container is recreated when provider inputs change by shallow comparison.
seeds?
readonly optional seeds?: SeedEntries;Defined in: src/wirestate-react/provision/sub-container-provider.ts:53
Targeted seeds applied before entries are bound.
Remarks
Seed changes recreate the child container when the seed entries change by shallow comparison.