Angular or React

  • Most of the things that I’m going to describe in this post are well know for the people that already use ReactJs however if you don’t know it (like me) you should spend same time to have a look on it to see if it is something that you should try as well or not.
  • Omg it’s awesome, it’s super tiny, fast and it doesn’t need any AOT compilation (look my previous post on Angular AOT compilation), 256Kb and load in 463 ms:

    I’m quite skeptical maybe if I need things more complex it will be super complicated to implements but for now it is faster and smaller so let’s go ahead and have a look at the code.

  • In the index.js the only thing that we’ve to do is pass a new attribute:

    and in the App.js:

    No main differences here apart that in no place is written that our component accept an attribute that is a string and is required.

  • We can also define our custom validations:

    where if we don’t pass the txt prop in the index.js we’ll receive 2 errors:

    React manage in different way properties and state, we saw already the properties but what I didn’t understood was that the properties can’t be changed by the component.

  • Everything make sense now and I have to be honest react is really easy to understand if you have a base knowledge of components, parameters, events or if you coming from the angular world.

Say that angular is better of React or vice-versa is not something that really make sense. You should try both of them to understand which one is better
Continue reading “Angular or React”

Angular or React

#AngularJS or #ReactJS? Try both, it’s worth it!  #JavaScript

  • How I can communicate between components redux used also in angular with different implementations like @ngrx/store !!!!
  • Ok let’s continue and see how we can pass parameters inside to our component.
  • Ok let’s go ahead and see the result of my first react application.
  • React manage in different way properties and state, we saw already the properties but what I didn’t understood was that the properties can’t be changed by the component.
  • declare a variable and use it (line 3 and line 9);

Say that angular is better of React or vice-versa is not something that really make sense. You should try both of them to understand which one is better
Continue reading “Angular or React”

Angular or React

  • How I can communicate between components redux used also in angular with different implementations like @ngrx/store !!!!
  • Ok let’s continue and see how we can pass parameters inside to our component.
  • Ok let’s go ahead and see the result of my first react application.
  • React manage in different way properties and state, we saw already the properties but what I didn’t understood was that the properties can’t be changed by the component.
  • declare a variable and use it (line 3 and line 9);

Say that angular is better of React or vice-versa is not something that really make sense. You should try both of them to understand which one is better
Continue reading “Angular or React”

Angular or React

  • How I can communicate between components redux used also in angular with different implementations like @ngrx/store !!!!
  • Ok let’s continue and see how we can pass parameters inside to our component.
  • Ok let’s go ahead and see the result of my first react application.
  • React manage in different way properties and state, we saw already the properties but what I didn’t understood was that the properties can’t be changed by the component.
  • declare a variable and use it (line 3 and line 9);

Say that angular is better of React or vice-versa is not something that really make sense. You should try both of them to understand which one is better
Continue reading “Angular or React”

React Redux React-Router: From Beginner to Paid Professional Coupon Save 50 %

React Redux React-Router: From Beginner to Paid Professional #AngularJS
☞

  • The section also shows clearly how to use React Developer Tools.
  • The sixth and seventh sections illustrate how to apply Redux technology and ES6 efficiently into an React application.
  • After the 6th section, you will know a basic way to use Redux in a React framework.
  • Mastering React framework and Redux technology will offer you a lot of opportunities for the highest paying jobs
  • There are many exercises and quizzes in each section, which help to re-enforce your knowledge before continuing the next section.

Coupon 100 10 15 75 learn React, Redux, React-Router, ECMAScript2015(ES6) by creating many applications such as Todo List, YouTube and Imgur
Continue reading “React Redux React-Router: From Beginner to Paid Professional Coupon Save 50 %”