About the fastest drawing method. (plotly.newplot, react, restyle ...)

Hello to everyone.

I was using plotly.newplot in my project. But my project works much faster in my experiments with plotly.react. Updating graphics faster. What can I do to update these drawings faster? As an example, how do I make use of plotly.react instead in the code below? (I couldn’t run the restyle and update methods.)`

var a = new Array(9, 9, 9, 9, 9, 9);
var b = new Array(8, 8, 8, 8, 8, 8 );
z1 = [a,b];
var data_z1 = {
    z: z1,
    "zmax": 10,
    "zmin": 0,
    showscale: true,
    colorbar: { outlinewidth: 1 },
    colorscale: 'Jet',
    type: 'surface'
Plotly.react('myDiv', [data_z1]);

Thank you from now.

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online