react-quickly
react-quickly copied to clipboard
ch05 logger Listing 5.1 has error
Listing 5.1 in the book has an error in the Content component class render()
method:
if (this.state.counter > 2) return
should be:
if (this.state.counter > 2) return <div/>
The source content.jsx
for ch05 logger
project is correct.