-
Notifications
You must be signed in to change notification settings - Fork 3
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
kerosene-ui: Add boundaries for react-query integration #118
Conversation
03051ab
to
9bbba40
Compare
d69a39f
to
2d2af9d
Compare
b25a4c7
to
552eb36
Compare
0e3e1f4
to
265450a
Compare
require("core-js/features/array/flat"); | ||
require("core-js/features/array/flat-map"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer required in the oldest supported Node LTS version
@@ -7,5 +7,4 @@ require("@babel/register")({ | |||
extensions: [".js", ".ts"], | |||
}); | |||
|
|||
require("core-js/features/array/flat"); | |||
require("core-js/features/array/flat-map"); | |||
require("core-js/features/promise/with-resolvers"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Promise.withResolvers()
not yet supported in Node or all browsers.
"@tanstack/react-query": { | ||
"optional": true | ||
}, | ||
"react-error-boundary": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't want to introduce the requirement for @tanstack/react-query
and react-error-boundary
onto all consumers of @kablamo/kerosene-ui
, so have included these as optional peer dependencies rather than creating a whole separate package for boundaries. This does mean though that any consumers that do have these dependencies will need to have compatible versions.
265450a
to
be860a9
Compare
No description provided.