← BYTES
React.js·Starter·Ref: 4.1.8

In a class component, which method is responsible for describing what should appear on screen?

Have a question about this video? Mention reference 4.1.8 when you contact us.

a.render
b.constructor
c.componentDidMount
d.shouldComponentUpdate
`render()` is the one required method on a class component; it returns the JSX (or other renderable value) describing the component's current output based on its props and state.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES418#Reactjs