Open
Description
Expected Behavior
If there is no OverlayKitProvider
in the parent tree and overlay functions are attempted to be used in child trees, an error message should be displayed. This message should inform users that the OverlayKitProvider
is missing and that overlay functions cannot be used without it.
Actual Behavior
Currently, there is no build or runtime error when OverlayKitProvider
is missing.
To Resolve the Problem
Implement a runtime error to be triggered when OverlayKitProvider
is not present in the parent tree. This will prevent the use of overlay-kit functions in child trees, similar to how Recoil
handles such cases.
Metadata
Metadata
Assignees
Labels
No labels