Our blazing fast Grid component built with pure JavaScript


Post by Les »

I'm looking at the BryntumGrid class definition.

https://www.bryntum.com/examples/grid/r ... s/grid.jsx

Would the BryntumGrid component be more efficient if the React.PureComponent were extended instead of React.Component?

Here's a usage example:

https://www.bryntum.com/examples/grid/react/app.jsx

Post by johan.isaksson »

Hi,

I am not sure it would have any big impact, but it is worth investigating either that or implementing `shouldComponentUpdate()` to prevent any unnecessary re-renders. Will keep it in mind when doing the next update of the react component.

In the meanwhile, feel free to try it out yourself and please report your findings if you do
Best regards,
Johan Isaksson

Post Reply