Skip to content

registerChildFeatureDetector

Install a child-feature detector keyed by React displayName. Re-registering the same displayName replaces the previous detector (HMR-friendly). Called by feature secondary entries on import.

Plugin API

registerChildFeatureDetector(displayName: string, detector: ChildFeatureDetector<TFeatures>): void
NameTypeDescription
displayNamestring
detectorChildFeatureDetector<TFeatures>
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt