render(() => { <Component />, element }) throws an error when including props
render(() => { <Component />, element })
This works if I only reference the component as <Component />
However, I get an error when using <Component id='xyz' />
Error: Uncaught TypeError: Cannot read properties of undefined (reading 'firstChild')
This works if I only reference the component as <Component />
However, I get an error when using <Component id='xyz' />
Error: Uncaught TypeError: Cannot read properties of undefined (reading 'firstChild')
