Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11303 Move from passing $c to using React.useContext
  3. MBS-11516

Move from passing $c to using React.useContext in entity lists

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021-04-19
    • Component/s: Refactoring
    • Labels:
      None

      Description

      Instead of passing $c down to entity lists in the many, many components that use them, we can and should just get it in the appropriate list components using React.useContext.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              reosarevok Nicolás Tamargo
              Reporter:
              reosarevok Nicolás Tamargo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2021-04-19