5R - JavaScript Frameworks

React

React

Per bitdegree.org the top dog is React. It was developed by Facebook developers to make their work easier. It is used by many large companies such as PayPal, Netflix, and AirBNB. Parts of a page like a button or an input box are components of React. The syntax is reportedly easy if you know JavaScript.

Angular

Angular

Bitdegree puts Angular in their top three. Angular is supported by google. It also is component based and you can nest them, change them, and reuse them. Angular uses Typescript, which is a superset of JavaScript. It includes an ahead-of-time compiler and is used for both desktop and mobile apps. It is popular with Google apps developers.

Vue

Vue

Vue was developed by a Google developer who wanted something more lightweight. It is said to be easy to learn if you know JavaScript and HTML. According to freecodecamp.org, Vue is simpler than Angular and the Vuex library is easier to use than React + Redux. They also say that you don’t have to relearn JavaScript to use Vue. Apparently, that is not the case with the previous two options. Vue uses the template syntax of Angular and the databinding, properties (or props), and component-based approach of React.

Summary

JavaScript frameworks are opensource tools that makes coding JavaScript easier. Frameworks have prebuilt code that can be built on so that you can be more time efficient. Frameworks have large user bases that share any bugs they come across. Whether or not you need to use a framework really depends on the size of your project. If it is simple, there is really no need to use a framework because they are “computationally expensive to operate,” says Snipcart.com.

Resources

https://www.bitdegree.org/tutorials/javascript-frameworks/ https://www.freecodecamp.org/news/complete-guide-for-front-end-developers-javascript-frameworks-2019/ https://snipcart.com/blog/javascript-frameworks