I think it makes more sense to have a separate abstraction for measuring text, in a separate library, which would allow the render step to call something like measureText(labelText, font) and synchronously get the size back.
As a Victory component, I want a synchronous measureText function that returns the width and height of any given string.
This will be a plain function instead of a component.
From https://github.com/FormidableLabs/victory-label/issues/35
As a Victory component, I want a synchronous measureText function that returns the width and height of any given string.
This will be a plain function instead of a component.