Issue with using `boolean()` from refine pckg
See original GitHub issueTypeError: (0 , _recoiljs_refine__WEBPACK_IMPORTED_MODULE_0__.boolean) is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
This happens in the urlSyncEffect
/ syncEffect
in an atom effects
prop.
Using number()
or string()
does not cause any problem. Just boolean. Any ideas?
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Feature request: is boolean true? #220 - colinhacks/zod - GitHub
Hey, First time using Zod. Is there a function like nonempty() for booleans? Or do you have to use refine? is(true) or is(false)...
Read more >typescript-eslint strict-boolean-expressions check for falsy value
There is one obvious problem I can see: these functions do not understand types, meaning that they will not correctly refine variables (example: ......
Read more >Search Operators | GovInfo
A Boolean search is a search that uses the logical (i.e., Boolean) operators (AND, OR, NOT, -) in addition to the keywords. AND:...
Read more >Boolean Operators | Quick Guide, Examples & Tips - Scribbr
Use Boolean operators to combine your keywords, exclude specific search terms, and search exact phrases to find the most relevant sources.
Read more >Boolean - Refine Dev
This field is used to display boolean values. ... Let's see how we can use <BooleanField> with the example in the post list....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hopefully today.
my bad! I misread your question. On
0.1.0
it should beboolean
, but an error in the build process with the reserved word made the export not existing in that release. On0.1.1
is gonna be namedbool
. As for when it’s gonna be released, that’s a good question. I thought it was already released, but seems like it doesn’t: https://www.npmjs.com/package/@recoiljs/refine?activeTab=versions I guess only recoil folks can know when it’s gonna be released.