3 ms·
>> if you change the state, it runs the function again, this returns a new virtual DOM What do you mean by "change the state"? How do you do that? By calling s
by galaxyLogic 7y ago
>> if you change the state, it runs the function again, this returns a new virtual DOM
What do you mean by "change the state"? How do you do that? By calling some function, or perhaps by assigning a value to some property of a state-object? OR by calling the function again with a different state-object?
Thanks