79284272

Date: 2024-12-16 10:06:04
Score: 1
Natty:
Report link

I would suggest using state for chart options so that you can set initial settings like empty title which will be overwritten with API data later (in the example simulation using setTimeout). You can also use simplified built-in loader.

Demo: https://stackblitz.com/edit/react-bp3amudu?file=index.js

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: MichaƂ