React defining state without a constructor [duplicate]
Its exactly the same thing. Take a look at the javascript that babel transpiles the code into. There is no difference.
Its exactly the same thing. Take a look at the javascript that babel transpiles the code into. There is no difference.