You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can only pass static markup to the popup tempaltes for bubbles / hovering over countries, arcs, etc.
You can use ReactDOMServer.renderToString to just get markup but then you're missing out on the component lifecycle methods e.g. componentDidMount, state and prop changes, etc.
@btmills This is the next thing I wanna work on for my project, can get started once the other updates etc are merged in. Might involve overriding datamap's native method for this.
The text was updated successfully, but these errors were encountered:
Currently you can only pass static markup to the popup tempaltes for bubbles / hovering over countries, arcs, etc.
You can use
ReactDOMServer.renderToString
to just get markup but then you're missing out on the component lifecycle methods e.g.componentDidMount
, state and prop changes, etc.@btmills This is the next thing I wanna work on for my project, can get started once the other updates etc are merged in. Might involve overriding datamap's native method for this.
The text was updated successfully, but these errors were encountered: