cisco-sbg-ui / atomic-react

https://atomic-react.security.cisco.com
2 stars 5 forks source link

feat: add singleton app ref #1274

Closed trent-boyd closed 1 year ago

trent-boyd commented 2 years ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change?

Other information: The AAppContext is not able to be shared across different instances of AApp. With the move to micro-frontends, we will need to have the host app and remote micro-frontends define AApp separately (or not at all). Since AApp is traditionaly used only once on a page, we can add a window reference and fallback to that in the case that AApp is not defined in a remote micro-frontend.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
atomic-react ❌ Failed (Inspect) Sep 13, 2022 at 0:08AM (UTC)