'Best way to pass data and callback functions to a react SPA (root)
I'm currently working on a react component that I will bundle using parcel. The component is a simple wizard that when completed needs to fire an event so the host application can do it's thing. Passing data is easy but what is the best way outside of a function on the window object to pass a function?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
