question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with using `boolean()` from refine pckg

See original GitHub issue
TypeError: (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:closed
  • Created a year ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
drarmstrcommented, Aug 18, 2022

Hopefully today.

1reaction
osiuxcommented, Aug 18, 2022

my bad! I misread your question. On 0.1.0 it should be boolean, but an error in the build process with the reserved word made the export not existing in that release. On 0.1.1 is gonna be named bool. 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found