October 2019
Intermediate to advanced
426 pages
11h 49m
English
First, let's find out when the Post component re-renders. To do this, we are going to add a console.log statement to our Post component, as follows:
export default function Post ({ title, content, author }) { console.log('rendering Post')

Read now
Unlock full access