Recently I'm learning Node.js as a back end language. I found out that peoples are usually doing it with MEAN and my question is is it necessary to have a front end framework to work with Node.JS?
For the front end framework like angular and react, which one is more suitable for Nodejs?
I have did some research but i see most of the peoples using angular as A in MEAN for Nodejs. Can i know why?
It is absolutely NOT required to have a front end framework. You can use your nodejs only for API endpoints without any views actually getting rendered by your nodejs app. These end points can be used by some other front end app hosted somewhere else on some other technology. Moreover you can use nodejs app only for processing or a proxy or anything you want. (Although NodeJS is not recommended for CPU heavy operations like Analytics or so).
Angular has been in the market for over 6 years now and React has come in play only in 2013. So the developer community has been using Angular for longer time and hence it is more widely used. Its you which to use for front end.
AngularJS, ReactJS, Native JavaScript, JADE, Handlebars etc etc. You can use anything for frontend. Everyone has its own pros and cons.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With