Why is AngularJS compared to other frameworks
What is the difference between React and frameworks like Angular and Vue.js?
Hi Simon, we look forward to welcoming you as a trainer at Eppleton. You will hold your first training session with us on May 6th on the subject of React. Why did you get so excited about React and what are the differences compared to other frameworks such as Angular or Vue.js?
Hello Toni, I'm looking forward to being able to hold React training sessions with you soon. First of all, React is not a framework. It's really just a library. The new JQuery. ☺
When I started with React, there was only AngularJS (not Angular) and no Vue.js. AngularJS felt a lot more cumbersome than React and I felt I understood React much faster. I am particularly enthusiastic about the simplicity and freedom in implementation. On the other hand, this can of course lead to problems and misunderstandings: “With great power comes great responsibility”.
You can choose the tools and the process. You can, but don't have to, use TypeScript, Flow or PropTypes. So I can be punk and hack, but also work sensibly and in a structured manner with larger teams. It is therefore just as suitable for small private projects as it is for enterprise applications.
The separation between React and the renderer, most of which will probably know ReactDOM, is very exciting. React enables a “learn once, write anywhere” approach. Best examples are ReactNative and ReactVR.
I also think the documentation and the community are really good. I feel that there is a solution in React for every problem.
AngularJS did a lot right with the move to Angular, learned from its own mistakes and copied something from React, similar to Vue.js. Angular, Vue.js, and React are valid options when building a web application. As always, it depends on the given boundary conditions which framework or library I would prefer. My personal order would be React, Vue.js, and Angular.
React relies on a unidirectional data flow and a virtual DOM in order to be able to implement even complex applications with high performance. What is the advantage of this approach?
With unidirectional data flow (one-way), in my opinion, it is easier to understand where the data is coming from and which path it is taking, and above all, troubleshooting is easier. With the bidirectional data flow (two-way) I have a connection to the data model, a kind of magical relationship is created. Both approaches have their appeal. The best approach is usually the unidirectional data flow, especially in combination with the immutability of the data.
When it comes to VirtualDOM, opinions differ widely. One side is of the opinion that operations on the DOM are not resource-intensive and changes can be written directly to the DOM, while others swear by the VirtualDOM approach. Basically, I think the idea that only relevant changes are adopted in the DOM is very good. Here, developers can still turn the performance screw by intervening in the life cycle of React and helping React to recognize which changes are relevant. Since the revision in React 16, under the title "Fiber", it has mainly been about incremental changes. The speed differences can be seen well in this demo.
In your Nighthacking at Eppleton you explained that React is a library and not a framework. This gives the user a lot of freedom when using React in a project. In contrast, frameworks such as Angular relieve the developer of many decisions about how the application is to be set up. Are there any recommended frameworks that use React and help build React applications?
As far as I know, there is no framework comparable to Angular, which uses React as a view. You can use any framework and then implement the view with React. The "create-react-app" tool helps you to create and structure a React project.
What kind of projects do you think React is best for and when is it better to use a different technology?
React (with ReactDOM) can be used for any web application. For example SPAs with a REST or GraphQL backend. This is reflected in the list of companies that use React. These include Facebook, Netflix, eBay, Airbnb and DHL. Thanks to the versatile renderer, it can also be used for mobile apps or VR. It depends on the use case and the team. Similar questions arise with JavaEE and Spring Boot. What particularly impressed me about React is that it has managed without serious breaking changes for years and is downward compatible. The hooks in React 16.8.4 also bring innovations, but do not change the implementation of existing applications.
Thank you for your assessment; we look forward to your training with us!
With pleasure. See you. ☺
React training with Simon Skozczylas
DukeScript Workshop - modern Guis with java and HTML
- How many types of sulfur are there
- When does a person call a speedcuber
- Why do we use multiple choice questions
- Why can't Kejriwal offer Wi-Fi?
- Why does Batman die
- What is the origin of pastries in Europe
- How are we judged in the hereafter?
- Who was Sai Baba's mother
- What is the basic truth in the supervised classification
- What is the stem of green algae
- What are some examples of redox reactions
- What does travel apps mean
- Why don't I like my school?
- What is Switzerland best known for?
- What is a comprehensive medical examination
- Why are Marvel movies taking over Hollywood
- How can I monetize urls
- Who is the inventor of entrepreneurship
- What are rights related to copyright
- How can soil pollution affect human health?
- What is nuance in a debate
- What are the misunderstandings of Christian education
- How does an ordinary object become radioactive?
- How to say guess in Swedish