Currently, I am working on a project that involves dealing with a legacy WebForms system. The system is gradually being updated to Angular 2, but the transition is happening incrementally.
In order to effectively integrate information from the legacy section of the site (which is currently in the form) into the new Angular app section, I have explored various options:
- Inspecting the DOM directly from the Angular app.
- Utilizing @Input to transfer data between components.
I have also considered implementing a global event that the Angular app can listen for and subscribe to.
Despite my efforts in researching, I haven't been able to find clear guidance on the best practices or recommended approach to achieve this data integration.