I’m currently working on a project that uses the LightBox Edition interface and would like to integrate a React component directly within one of its popup windows. While I understand how to render standard HTML content, I’m unsure about the best approach for mounting and managing React components inside the LightBox environment.
Has anyone successfully embedded React elements in a LightBox window? I’m particularly interested in recommendations regarding component initialization, state management, event handling, and ensuring proper cleanup when the window is closed. Any examples or best practices would be very helpful.