Replies: 1 comment
-
Since we cannot rule out I do not see a significant advantage that the current third-party solution cannot provide and we need an integration into Yew. I think the idea is similar as styling solution brainstorm (#2003). I think most options proposed there didn't provide a significant advantage that requires a first-party integration where a third-party solution cannot provide, so I am fine with it being a third-party solution. This may not be a popular opinion, however, I think it is better for |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @kirillsemyonkin in yewstack/implicit-clone#39 (comment)
I think @kirillsemyonkin is right about yew-autoprops. Defining the props directly into the declaration of the function is a huge time saver. In my opinion, this is literally "function component 2.0".
If everybody agrees I would like to make a port of yew-autoprops into yew in a way that will be backward compatible with the current function component.
Option 1
Option 2
cc @hamza1311 @futursolo @valyagolev
Beta Was this translation helpful? Give feedback.
All reactions