Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OverlayKitProvider missing error #76

Open
helloworld-hellohyeon opened this issue Jul 29, 2024 · 0 comments · May be fixed by #77
Open

Adding OverlayKitProvider missing error #76

helloworld-hellohyeon opened this issue Jul 29, 2024 · 0 comments · May be fixed by #77
Assignees

Comments

@helloworld-hellohyeon
Copy link

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

@jungpaeng jungpaeng self-assigned this Jul 29, 2024
@jungpaeng jungpaeng linked a pull request Jul 30, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants