react-echarts-binding This is a declarative echarts binding. It will be updated automatically when container size is changed. So you just have to worry about option prop.