-
SolidJS has it's own built in Also, there is a point that isn't entirely clear from the documentation. Should I do:
the function definition seems to imply that both are allowed this seems to imply that we shouldn't call the function #981 Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hiya, the only difference with the one from solid js is this part; where we apply some transforms. zag/packages/frameworks/solid/src/merge-props.ts Lines 31 to 39 in 53fe543 As for your second question, we simply do it like the solid |
Beta Was this translation helpful? Give feedback.
Hiya, the only difference with the one from solid js is this part; where we apply some transforms.
Basically the props zag generates by default are not solidjs conforming, so this mergeProps from core is an adapter to make them solid compatible.
zag/packages/frameworks/solid/src/merge-props.ts
Lines 31 to 39 in 53fe543
As for your second question, we simply do it like the s…