Why’s React Native so promising?

Why is #ReactNative so promising? Read Valentin's blog post to find out!

  • React Native looks a lot like React: roughly the same syntax, classes, JSX, state, props… but React Native is a framework, which means you have more features than just rendering in React Native.
  • To do that, the Facebook team created a bunch of APIs to interact with the camera, the keyboard, the vibrations… – – One of the big advantages of using React Native is that, while the core app runs in a JavaScript Engine, it uses JSX to render native code.
  • You use classes, ES6, states and the like, with a few notable differences: – – Not much to say here except that Redux, the React developers’ favourite state management library, also works with React Native with absolutely no difference in the way you’ll dev.
  • Here’s an example of a small Menu component: – – This article is not about HOCs; just know they allow a greater flexibility around the way you compose your components and you can use them in React Native.
  • With React Native you can compose your styles and properties, combine them and then have them applied onto your component.

Continue reading “Why’s React Native so promising?”

Fullstack React: Use Property Initializers for Cleaner React Components

Use Property Initializers for Cleaner React Components



#ReactJS

  • In our previous post on Babel plugins and presets, we mentioned that there was one particular experimental JavaScript feature that is popular in the React community: property initializers.
  • As you’ll see, the property initializers feature is popular among React developers for good reason.
  • ⚠️ As we mentioned in the Babel plugins and presets post, property initializers are still in the proposal phase and yet to be ratified for adoption into the JavaScript spec.
  • To use it, we must do two things:

    With the plugin installed and Babel configured to use it, we’re ready to refactor our React ES6 class components to use this feature.

  • In sum, we can use property initializers to make two refactors to our React components:

In our previous post on Babel plugins and presets, we mentioned that there was one particular experimental JavaScript feature that is popular in the React community: property initializers.
Continue reading “Fullstack React: Use Property Initializers for Cleaner React Components”

FbStart AMA

  • Are you considering or using React Native in your mobile app?
  • Join Facebook’s Developer Advocacy team for a live video ‘Ask Me Anything’ session to talk about what’s new with React Native and related technologies.Specialists from Facebook’s team will be available for 45 minutes startingto answer questions.
  • Please use the comments section on the FbStart AMA event page to submit questions in advance!

Continue reading “FbStart AMA”

Angular, React, and Vue: What’s Coming in 2017?

Angular, React, and Vue: What's Coming in 2017?  #javascript #angular2 #reactjs #vuejs

  • We’ve chosen to focus on these three JavaScript frameworks for 2017.
  • Not left behind Angular 1 versions (1.5 and 1.6), steadily adding to one of the most popular frameworks.
  • The Angular team at Google has made a few significant changes to the framework in the past year.
  • Not only Angular 4, the tentative release schedule up to Angular version 7 has also been released.
  • It was then considered a framework for the niche now developers compare this to other established frameworks like Angular or React.

Let’s review the year of 2016 for Angular, React, and Vue.js and look ahead to see what coming for these popular JavaScript frameworks in 2017 and beyond.
Continue reading “Angular, React, and Vue: What’s Coming in 2017?”