Currently I'm reading the documentation of React and I don't understand what do the following parameters mean syntactically in setState()
method:
setState(updater[, callback])
I tried to use Esprima parser to perform syntatical analysis in order to determine what are those but it shows syntactical error for the line of code.