skydhash 5 hours ago

You don’t. ReactJS is a UI library and everything around it depends on it. The only incentive to be clean is if you want the ability to switch the UI layer to something like vue or svelte. Clean is related to the business logic, not a particular library.