Open erykpiast opened 5 years ago
Vega (https://vega.github.io/vega-lite/docs/tooltip.html) has also cool approach. You could type specification as union of variants/records and feed into single component. One downside is that Vega lacks in customisation department - tooltips are crude and you can use only predefined marks and channels.
Recharts is a good choice for the start because it provides Reason typings. But maybe in the long term, there are better options? Typings shouldn't be hard to implement when the library is written in some other strongly typed language like TypeScript.
@adrianmroz recommends these three: