4 ms·
That's just as shit. You need to build an API layer and a service/utility layer. These should be completely separated from React-land. Ideally you should be abl
by viklove 8y ago
That's just as shit. You need to build an API layer and a service/utility layer. These should be completely separated from React-land. Ideally you should be able to change UI frameworks without altering or moving any of your business logic.
- parthdesai 8y ago>Ideally you should be able to change UI frameworks without altering or moving any of your business logic. That's just as shit imo, adding unnecessary complexity for the sake of adding it. If you are choosing a framework, you are betting on it, why complicate things. Might as well write in Vanilla JS at that point.
- mosdl 8y agoIt adds easier testability - you can test the logic outside of the framework.