By: Swati Pasi
Whether we should use a front-end framework or not?
Developing a Web Application in itself is very challenging.
While developing a Web App, one might want to focus on implementing the back end part for it first. When we think about implementing the front-end of an application, it itself is a big task. So, one might not want to get involved in large amount of work, but we also need to provide our customers, the best user experience.
This is the point where front-end frameworks play a role. There are an ample amount of front-end frameworks available today for better user experience.
Why we should use front-end framework?
A front-end framework is quite useful when you are working for a company and have extensively tight deadlines, as they provide us with most of the things handy and easy to use. Like if I talk about bootstrap, then it has all the styling part handy in form of classes which can be easily used by including the bootstrap’s compiled CSS. Also, frameworks are good for prototyping.
So, as we can see that using a front-end framework not only reduces our work but also provides a better view of our Web App.
Why we shouldn’t prefer front-end framework?
First thing that we as developers should keep in mind is that we shouldn’t get too much used to the frameworks. A framework may reduce the amount of efforts you need to put in and the time required for it but it is just reducing your competence level, as you might forget how to do things from scratch.
One of the drawback in bootstrap is that there are predefined classes for CSS styling So, the classes that you are using in your own CSS code might just clash with the bootstrap classes and you won’t know about it unless you have a good knowledge about all the classes of bootstrap.
Also, if you are working for a company and a new developer joins your team who doesn’t have much knowledge about the framework, he or she might take a lot time to contribute to the project. So, it is preferred not to use frameworks for everything and write the code on your own.