Open Forfold opened 1 year ago
I think ReactNode
is the preferred way and what we intended JSX to be used for
Agreed, I would be fine with moving towards ReactNode from the top down
@Forfold is this issue beginner friendly?
Yes and no. It doesn't require a ton of effort, but it's a bit of a spiderweb in that I've noticed if I flip certain files to ReactNode from JSX.Element it freaks out saying it's not expected. So I think we need to start with the components at the highest level
Yes and no. It doesn't require a ton of effort, but it's a bit of a spiderweb in that I've noticed if I flip certain files to ReactNode from JSX.Element it freaks out saying it's not expected. So I think we need to start with the components at the highest level
Got it @Forfold. Seems moderate level. Waiting for your PR 😃
We'll need to rethink our component typings, as JSX as a whole has been deprecated in favor of React.JSX.
This is a good opportunity to decide if we want all of our components to be one of: