You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theOverlayKitProvider
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 howRecoil
handles such cases.The text was updated successfully, but these errors were encountered: