You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly, now that React 18 types have removed the implicit children problem, I want to go the other way, from a function with props typed as an object to React.FunctionalComponent.. How hard would that be?
The text was updated successfully, but these errors were encountered:
1- It shouldn't be that hard, though lots of scenarios have to be contemplated (See all the scenarios that now exist!). It should be similar, but the other way around 😄
2- Not sure if it conflicts with the name of the repo 🤔 but let's ignore that for now.
At this moment I don't think I can implement this, so a PR (or multiple ones) is very welcome.
Interestingly, now that React 18 types have removed the implicit children problem, I want to go the other way, from a function with props typed as an object to React.FunctionalComponent.. How hard would that be?
The text was updated successfully, but these errors were encountered: