refactor(web): sync app context effects with jotai (#38570)