DEV Community

Discussion on: How to select a front-end framework?

 
kspeakman profile image
Kasey Speakman • Edited

My use case is enterprise applications. That's pretty much all I do.

With no framework, you still make helper functions to simplify execution of common use cases. So, it is still quite easy for the team to reuse code. But the helpers are opt-in, so if the business has a custom requirement that doesn't work with an existing helper, you also have the choice to do something completely custom. Then if you need to do it more than once, you turn it into another reusable helper.

Framework or no, laziness efficiency finds a way. :)

Thread Thread
 
pavonz profile image
Andrea Pavoni • Edited

My experience with this kind of stuff in enteprise is that you can use a framework anyway, but mostly as pluggable widgets. Instead of helpers, I’ve also used conponents (React or Vue), for common tasks (ex: search forms, autocomplete, etc...). It worked very well, or at least IMHO, I prefer this approach over jQuery plugins/helpers.

Thread Thread
 
kspeakman profile image
Kasey Speakman • Edited

I would prefer frameworks over jQuery too. :) As I mentioned, there are nuances to doing frameworkless well. I definitely did not mean to imply a free-for-all. There should be guiding principles to the design, of which MVU is a good one. For interacting with the DOM for example, nothing wrong with using the React renderer library, rather than trying to manipulate the DOM directly.