Closed sarayourfriend closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/itsjonq/g2/9ZgsmnMthRQKPK7mECGHdgHtf9gH
✅ Preview: https://g2-git-fix-do-not-use-forward-ref-render-function-itsjonq.vercel.app
This simplifies the type and removes duplication of the
children
type which is problematic for elements likehr
andimg
which do NOT have children.Eventually we'll remove
children
fromViewOwnProps
but that's a project for another day and will require a big refactor in the already ported component's types to explicitly annotatechildren
. We should probably do this sooner than later though (probably this should be the first thing we do once these libraries exist in Gutenberg).