Answer the question
In order to leave comments, you need to log in
What are the restrictions on using the render method as an arrow function in React?
Good day. I recently started learning React and after some thought I decided to replace the construct
render() {
return (<h1>Hello World</h1>)
}
render = () => (
<h1>Hello World</h1>)
);
Answer the question
In order to leave comments, you need to log in
after some thought, I decided to replace the design
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question