1 year ago

Just a Question About React JS

Posted 1 year ago by mlazuardy

i want to know that if i render multiple ReactDOM in same file like

 ReactDOM.render(<Example />, document.getElementById('example'));
 ReactDOM.render(<Example2 />, document.getElementById('example2'));

is it call anti-pattern or not ? or is it a bad method or not ? sorry just ask :) and thank you

Please sign in or create an account to participate in this conversation.