Answer the question
In order to leave comments, you need to log in
Render functions are called repeatedly?
I decided to write a functional component using the HOC pattern, when checking what is displayed in the console inside the render function, it is called twice, debugging does not help
render (h, context) {
console.log('TEST')
function approachComponentList () {
const items = context.props.items
if (!items) return null
return Component
}
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question