MAIDR JavaScript API
    Preparing search index...
    • Says a warning on the console once for each mounted chart, from an effect rather than while rendering.

      The chart remembers what it has said, so a re-render says nothing again, and neither does React's development check that runs a new chart's effects twice. A chart unmounted and mounted again is a new chart and says it again. Nothing is kept outside the chart, so nothing outlives it.

      Parameters

      • warning: string | undefined

        What to say, or undefined for nothing

      Returns void