- Published on
As a developer, I needed to trigger a React modal from a SharePoint Ribbon button—bridging classic JS and modern React. This post explains the challenge, the solution using the global window object, and how I made React state accessible from outside the bundle.