To say his approach is "incorrect" is incorrect. It is just that, an approach. It is the method by which he chose to solve a problem. There is nothing in the React docs that says this is "incorrect" and there are no facts that back up that this approach is "incorrect". It's okay to disagree with an approach and prefer another approach, but I would be careful of making factual statements when really you are stating an opinion.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To say his approach is "incorrect" is incorrect. It is just that, an approach. It is the method by which he chose to solve a problem. There is nothing in the React docs that says this is "incorrect" and there are no facts that back up that this approach is "incorrect". It's okay to disagree with an approach and prefer another approach, but I would be careful of making factual statements when really you are stating an opinion.