React Native Ecosystem with Nader Dabit

[podcast] React Native Ecosystem with Nader Dabit @dabit3 @R_N_Radio #NativeAPI…

  • In this episode, we explore what a developer can and cannot do with React Native, when a developer needs to use native APIs, and some speculation on the future of React Native.
  • This episode is a good preface for tomorrow’s episode about React Native Interfaces with Leland Richardson of Airbnb.
  • In that episode we will dive deeper into how React Native works and just how big of a change it could be for cross-platform developers.
  • To make deep learning easier and faster, we need new kinds of hardware and software–which is why Intel acquired Nervana Systems, a platform for deep learning.
  • Check out hired.com/sedaily to get a special offer for Software Engineering Daily listeners–a $600 signing bonus from Hired when you find that great job that gives you the respect and salary that you deserve as a talented engineer.

React Native allows developers to reuse components from one user interface on multiple platforms. React Native was introduced by Facebook to reduce the pain of teams who were rewriting their user interfaces for web, iOS, and Android.
Continue reading “React Native Ecosystem with Nader Dabit”

Build ReactJS App with Visual Studio Code

Build #ReactJS #App with #VisualStudio Code by @thinkaboutnitin cc @CsharpCorner  #VS2017

  • In this artilce, I will introdice Visual Studio Code and how to get it ready to setup to build React apps.
  • The first step is to open React app in Visual Studio Code.
  • Once your React app is open in Visual Studio Code, you will find some directories in left corner.
  • By default, when we run ReactJS app, we get the above web page in our browser.
  • So, go ahead and build your React app with the help of Visual Studio Code.

Explore ReactJS App with Visual Studio Code.
Continue reading “Build ReactJS App with Visual Studio Code”

Richard Feldman Discusses Elm and How It Compares to React.js for Front-end Programming

.@rtfeldman discusses #Elmlang and how it compares to #ReactJS for front-end programming:

  • In this podcast Wesley Reisz talks to Richard Feldman about Elm, a front-end focussed functional programming language that compiles to JavaScript.
  • Where are the sticky parts of Elm?
  • QCon is a practitioner-driven conference designed for technical team leads, architects, and project managers who influence software innovation in their teams.
  • QCon takes place 7 times per year in London, New York, San Francisco, Sao Paolo, Beijing, Shanghai & Tokyo.
  • QCon London is at its 11th Edition and will take place Mar 6-10, 2017.

Richard Feldman talks about Elm, a front-end focussed functional programming language that compiles to JavaScript. Feldman covers being an early adopter of Elm, the architecture of Elm, immutability, semantic versioning and more. He also compares Elm to some popular JavaScript frameworks including React.
Continue reading “Richard Feldman Discusses Elm and How It Compares to React.js for Front-end Programming”

Simplify your React components with Apollo and Recompose

Simplify your #ReactJS components with Apollo and Recompose:  #JavaScript #frontend

  • Here are some things you can do with Recompose:Optimize your React components by making them pure-renderedSet default propsAdd limited state variablesAnd you can do all of this while using the React functional component syntax, which makes your code much more straightforward and reduces your chances of accidentally introducing some state or complexity into your UI rendering.The React higher order component you use from react-apollo fits this mold.
  • It just does one thing well: It enables you to co-locate your GraphQL query with your React component and get that data in your props, while handling all of the details like fetching and caching the data.
  • That’s where React component composition and Recompose come in.We can attach GraphQL data, loading management, variable state, or pure rendering in just one function call!Without further ado, here is our first end-to-end example of how to use Recompose together with React Apollo to have a nice, concise UI with GraphQL!Manage your variables using ‘withState’The best feature of functional components is that they are stateless.
  • However, sometimes you still want some temporary state, and it’s best to put that outside of the component that handles rendering to keep things clean.Let’s look how we can use the withState container from Recompose to build a React component that has both a search box and a GraphQL query that uses that search term:One nice side effect is that since we are keeping all of the state and data loading outside of the component, we can drop in the pure mix-in everywhere to make sure our components don’t rerender when they don’t need to.In the above code snippet, all of our concerns are very nicely separated through the React component paradigm.
  • We could also use an HoC to flatten this out:Now, we can very easily share a common loading component between all of our UI that uses data from React-Apollo, and the logic is contained in a separate chunk that isn’t obscuring the structure of our pure component!Take-awayThe react-apollo API was designed to be the best way to pull GraphQL data into the props of a React component.

One of the main goals of Apollo Client and the Apollo project in general is to fit seamlessly into the modern React developer’s toolbox. That’s why we’ve invested in simple higher-order components…
Continue reading “Simplify your React components with Apollo and Recompose”

Add percentage support to react native · facebook/react-native@3f49e74 · GitHub

  • – * must use logical pixel units, rather than percents, ems, or any of that .
  • +14 −1 ReactAndroid/src/main/java/com/facebook/react/flat/FlatARTSurfaceViewShadowNode.java
  • /** `left` is the number of logical pixels to offset the left edge of
  • /** `paddingBottom` works like `padding-bottom` in CSS.
  • /** `paddingLeft` works like `padding-left` in CSS.

react-native – A framework for building native apps with React.
Continue reading “Add percentage support to react native · facebook/react-native@3f49e74 · GitHub”

Employee Directory: Sample Application with React Native and Node.js

Employee Directory: Sample app with #ReactNative and #NodeJS

  • In React Native , you render your components using React Native components like and which are wrappers around native components.
  • React Native is a framework for building native mobile applications using JavaScript.
  • Trivia application built with React (hosted live )
  • The source code for the React Native application is available in this GitHub repository.
  • The REST service implementation (employee-service-rest.js) uses fetch to access Node.js-based REST services hosted on Heroku .

Over the past few years, I’ve built many versions of the Employee Directory application as a way to explore new languages and frameworks. In this post I’ll share a version of the Employee Directory sample app built with React Native.
Continue reading “Employee Directory: Sample Application with React Native and Node.js”