DEV Community

Discussion on: Senior Front-End Developers Share Advice for Juniors: What Would You Add?

Collapse
 
dipanjan profile image
Dipanjan Ghosal

Typically you'd want to use React's facilities as much as possible instead of directly manipulating the DOM with vanilla js. However, for some edge cases, its absolutely fine to do so.
Just make sure its an exception rather than rule.