-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Issue with using boolean()
from refine pckg
#1922
Comments
I get a similar error
Code to reproduce: https://runkit.com/embed/3o2k1gs2vx3i |
Seems like something on the build process strips this export. The result is that every build (cjs, es, umd) has no export of the |
Interesting. This issue doesn't show up with our internal builds so it looks like something with the open source build. |
Summary: Resolves facebookexperimental#1922 Rename `boolean()` checker to `bool()` since `boolean` is a reserved word in JS and the export was not working for the open source build. While this might be considered a breaking API change, we can argue it's only a semantic version patch number update since the previous export didn't actually work so this is still just a bug fix. Differential Revision: D38800113 fbshipit-source-id: 69fd0e8a369fdfecf5996f306f461ae8379b0245
Summary: Resolves facebookexperimental#1922 Rename `boolean()` checker to `bool()` since `boolean` is a reserved word in JS and the export was not working for the open source build. While this might be considered a breaking API change, we can argue it's only a semantic version patch number update since the previous export didn't actually work so this is still just a bug fix. Differential Revision: D38800113 fbshipit-source-id: 1eed2f8845e99c5ec465bf1569fdc4d75d016d0a
Summary: Pull Request resolved: #1959 Refine 0.1.1 release: - Rename `boolean()` export to `bool()` since `boolean` is a reserved word (#1922, #1962) - Remove reference to `native` directory in `package.json` to cleanup errors for `react-native`. (#1931) - Export `Path` class for custom checkers. (#1950, #1956) - Extend the failure message of `union()` and `or()` with each type. (#1961) Reviewed By: bsouthga Differential Revision: D38764896 fbshipit-source-id: 5eb0327ab9034f3f0802796d986fd6e7df28f05c
Hi @drarmstr, I've got a issue with using: "recoil": "^0.7.4",
"recoil-sync": "^0.1.0",
"@recoiljs/refine": "^0.1.0", Error:
|
@nichita-pasecinic the new exported names is |
@osiux I got it, but when the new release will be published ( with |
my bad! I misread your question. On |
Hopefully today. |
This happens in the
urlSyncEffect
/syncEffect
in an atomeffects
prop.Using
number()
orstring()
does not cause any problem. Just boolean. Any ideas?The text was updated successfully, but these errors were encountered: