react-slick icon indicating copy to clipboard operation
react-slick copied to clipboard

Memoize style objects, so that Slider children can be pure components

Open ku8ar opened this issue 6 years ago • 0 comments

Memoize style objects, so that Slider children can be pure components

In one of the projects I use many decorators calculating many operations in pictures (trimming, adding filters, etc.). PureComponent is the only solution in the child of the slider to stop costly re-rendering. That's what the fix is for.

ku8ar avatar Jun 01 '19 15:06 ku8ar