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

feat(#72): added Suspense wrapper for the modals #73

Merged
merged 1 commit into from
Jan 10, 2023
Merged

feat(#72): added Suspense wrapper for the modals #73

merged 1 commit into from
Jan 10, 2023

Conversation

Quernest
Copy link
Owner

Modals can be loaded with React.lazy. According to the documentation component should be wrapped with Suspense. This wrapper can be removed or added with the property suspense = true / false on the ModalProvider component.

@Quernest Quernest linked an issue Jan 10, 2023 that may be closed by this pull request
@Quernest Quernest self-assigned this Jan 10, 2023
@Quernest Quernest added the enhancement New feature or request label Jan 10, 2023
@Quernest Quernest merged commit 9a88106 into master Jan 10, 2023
@Quernest Quernest deleted the #72 branch January 10, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant