Skip to content

Possible future performance optimizations #82

Description

@Noam-Bendelac

If performance ever becomes a problem, here are some steps that should probably be tried first:

  • Wrap most components that need it in React.memo (as described by this post, React doesn't memoize with shallow props comparison by default like I thought)
  • Split up context objects like { modificationState, setModificationState, loadPlaylist } into separate contexts, and maybe adding a convenience wrapper to avoid nested Providers in the JSX (reference)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendFrontend functionalityimplementationPossible implementation idea to keep in mindlow-priorityMay not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions