Skip to content

Adding OverlayKitProvider missing error  #76

Open
@helloworld-hellohyeon

Description

@helloworld-hellohyeon

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.

Screenshot 2024-07-29 at 11 46 51 AM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions