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
Hi, In my app I need to pass some variable data to be drawn.
Example:
<Ellipse cy={this.state.y} cx={this.state.x} />
But I am unable to do this since svgRoot does not inherit properties from parent component.
Moreover, I want svgRoot to execute render on state change, but, as written above, I can't pass any state to it, hence this component is not reactive.
Is there any workaround for my issue?
The text was updated successfully, but these errors were encountered:
Hi, In my app I need to pass some variable data to be drawn.
Example:
<Ellipse cy={this.state.y} cx={this.state.x} />
But I am unable to do this since svgRoot does not inherit properties from parent component.
Moreover, I want svgRoot to execute render on state change, but, as written above, I can't pass any state to it, hence this component is not reactive.
Is there any workaround for my issue?
The text was updated successfully, but these errors were encountered: