Can someone help me, please?
TypeError: Cannot read property 'getBoundingClientRect' of null
I'm rendering this code, for example:
<div className="box">Test</div>
Can someone help me, please?
TypeError: Cannot read property 'getBoundingClientRect' of null
I'm rendering this code, for example:
<div className="box">Test</div>
class
instead of className
Based on your update in the comment, you need to be using class
and not className
. className
is a parameter passed to a react component, while class
is the proper attribute for standard HTML elements.