Replies: 2 comments 3 replies
-
Can you share a stackblitz, please? I am trying to reproduce this error but it's working fine for me. Also the error mentions Would appreciate more context! |
Beta Was this translation helpful? Give feedback.
2 replies
-
This is also an issue with biome, I really would love if instead of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just started looking at this library, and it looks good so far. However, as soon as I've tried to use it I've run into some issues.
Copying the exact style from the docs - having a
children
attribute on theform.Field
tag - brings up an ESLint error. Specificallyreact/no-children-prop
. I did find a previous discussion about exactly this, and one of the things suggested was to put the render prop as a child of the element instead. So that is, instead of this:writing this:
However, if I do that then I instead get a TypeScript error of:
Other than going back to the attribute form and changing my ESLint config - which I'm loathe to do if I can avoid it - are there any other good solutions to this?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions