Sitecore JSS: React Hooks Global State