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

Move from passing $c to using React.useContext in header/footer/menus

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-04-19
    • None
    • None

      Instead of passing $c everywhere from the layout page all the way down to any header / footer / menu components, we can and should just get it in the appropriate components using React.useContext.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2021-04-19