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

Move from passing $c to using React.useContext in the sidebar

    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 everywhere from the entity layout page all the way down to any sidebar components, we can and should just get it in the appropriate components using React.useContext.

        Attachments

          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