Closed zubairhasrat closed 1 year ago
I want to render content inside callback in auto sizer to be rendered on server is that possible?
<AutoSizer> {() => <div>this needs to be server side rendered</div>} </AutoSizer>
Use the defaultHeight and defaultWidth props for this. As the docs mention, they are for server rendering fallback.
I want to render content inside callback in auto sizer to be rendered on server is that possible?