Use new value from context when it is updated – Reactjs
I load my settings from the server: import { Context, createContext, useEffect, useState } from "react"; export class AppSettings { buildName: string = ''; authority: string = ''; truthPortalApi: string = ''; environment: string = ''; } export const AppSettingsContext:…