Code breaks
Author: CeoFredCreated Nov 15, 2019Updated Nov 7, 2022
Copied the whole code for a test and seems to be broken at the point where we try to do the actual work. return ( <h1 onClick={() => setState(c => c + 1)}> Count: {state} )
At this point my browser says Uncaught SyntaxError: Unexpected token '<'at the point we want to render the html as JSX.
Source: pomber/didact