learning-react
learning-react copied to clipboard
Ch9 p202 and p203
render() { const { error } = this.state; const { children, fallback } = this.props; if (error) return
The destructing value fallback where it use?
render() { const { error } = this.state; const { children } = this.props; if (error && !fallback) return
Can I use fallback without destructing value here?