Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Performance suggestions #107

@fabiosantoscode

Description

@fabiosantoscode

Hello!

I was reviewing a React component from a colleague of mine, which uses this project as a library. Everything looked wonderful on both sides, but I did a tiny performance test using firefox's performance tools with object allocation statistics turned on. You know, just for fun.

In the meantime I found some extra allocations, some of which could be very, very easily avoided! This should prevent the garbage collector from butting in and causing jank in your otherwise very smooth scroll experience.

Here are my notes, if you're interested :)

https://github.com/economist-components/component-carousel/pull/2#issuecomment-219979022

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions