Echart is not refreshed when only style and className change. This is the wrong code in the src/core.tsx file 