3 ms·
Author here - I did put a warning in guys :-) Lots of the code looks pretty code-golfy - I promise I don't do stuff like this at work, neither should you Ha
by leontrolski 7y ago
Author here - I did put a warning in guys :-)
Lots of the code looks pretty code-golfy - I promise I don't do stuff like this at work, neither should you
Happy to s/g/grid/ - writing the whole exercise felt a bit golfy TBH.
- 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