Skip to content

perf: extract prompt rows into a component & memoize #51

@transmissions11

Description

@transmissions11

when you look at the profiler for the Prompt component you'll quickly notice we re-render every row on every prompt re-render, which shouldnt be necessary w/ the right tweaks

Screenshot 2023-04-02 at 4 50 31 PM

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