Your Choice JavaScript News

New context api, Root react component, React finland & more… React News Monday, February 26

React News TLDR / Table of Contents

  • Replacing redux with the new React context API – Hacker Noon
    • The new context API coming with React 16.3 is pretty neat. It was built in the render props style trending last months. Let’s explore it: This talk from the excellent Jing Chen, has revolutionised…
    • new context API, root React component, excellent Jing Chen, legendary time travel, prevent unwanted re-rendering
  • Case Study — React Finland Website – React Finland –
    • A website is often the primary entry point of people to a conference. For this reason, it is important to get it right as it a significant part of the brand identity. Essentially a good website…
    • React Finland, site, brand identity, React Finland site, design
  • React starter repo with Symfony 4 and Webpack Encore
    • In the last post, we introduced Webpack Encore and why it makes for a quick start for modern JS with Symfony. In this post, we’ll set up a basic starter repo for a React frontend using Symfony and…
    • Webpack Encore, Symfony, Symfony quick start, Symfony skeleton site, Material UI
  • brunnolou/react-morph
    • react-morph – Morphing Ui transitions made simple
    • Paint browser rendering, extra white space, placeholder element, state margins, absolute positions
  • How to Keep a Headhunter From Poaching Your Best Talent
    • A top recruiter shares two reasons why star performers leave—and what you can do to keep them.
    • recruiter Karl Alleman, Ultra-Tight Job Market, cell phone conversations, extra ecru-colored stationery, editor-at-large Geoff Colvin
  • A basic Flux representationOne library has democratized this concept, Dan Abramovs Redux and its legendary time travel demo at React Europe 2015.
  • We have just passed state and actions as value of the provider.
  • I created a library to have everything we need to use this data flow easily and keep great repository available here – Just import initStore from react-stateful, set your initial state, some actions: (state,arg) stateChunk and youre good to go.
  • The created store gives you some cool things like: – The enhanced Provider and Consumer presented aboveactions (you can access them from Consumer too)getState() to get the current stateconnect()() to map state and actions to component propsAs you can see connect is not exactly the same you have in react-redux,…
  • Comparison withreduxPros – Easier to implementWeight and performanceIts easy to have multiple storesCleaner action return with state chunk (as in setState)Cons – No native deep selectors (you can use reselect)No time travel extensions (for now)It only works with React ^16.3You want to try it?

Tags: new context API, root React component, excellent Jing Chen, legendary time travel, prevent unwanted re-rendering

  • Case StudyReact FinlandWebsiteA website is often the primary entry point of people to a conference.
  • Read Technology behind React Finland for the technology choices.One of the earlydesignsDesign is About PresentationAlthough a site can be structured well and filled with good content, if the design is poor, you might lose people.
  • In the case of React Finland, we wanted to integrate the idea of Finland to the site somehow.
  • fiI realized during early January that although the conference is selling quite well, it could do better if we improved the design of the site.
  • To see how the design work progressed, see [1], [2], and the final result.The resulting designConclusionAlthough React Finland site is quite small, it has been a great case for me to work on as its more than only the technical part.

Tags: React Finland, site, brand identity, React Finland site, design

  • React starter repo with Symfony 4 and WebpackEncoreIn the last post, we introduced Webpack Encore and why it makes for a quick start for modern JS with Symfony.
  • In this post, well set up a basic starter repo for a React frontend using Symfony and Webpack Encore.
  • $ composer require annotations twig asset – $ composer require server –devConfigure Webpack Encore to addReactWebpack Encore is simply a node package, so we can install it using npm (or yarn).
  • gitignore – $ composer require encore – – # Add react deps – $ yarn add –dev react react-dom prop-types babel-preset-react – – # Actually install node package – $ yarn installAnd finally, we need to enable the React preset in our webpack.config.js.
  • $ yarn run encore dev – # yarn run encore dev –watch to automatically rebuild on every changeAnd then use the Symfony WebServerBundle we installed above to start the server.

Tags: Webpack Encore, Symfony, Symfony quick start, Symfony skeleton site, Material UI

  • < > < >Morphing transitions was never so easy!
  • < >Morphing transitions was never so easy!

Tags: Paint browser rendering, extra white space, placeholder element, state margins, absolute positions

  • As senior writer Ellen McGirt explains in her eye-opening feature, How Your Life Experience Could Help You Land a Great Job, it has also unleashed a new market force: This electrified employment market is placing fresh value on life experiences and personal qualitieslike fortitude, adaptability, and creative problem-solvingthat seldom enriched…
  • The Chicago-based recruiter spends much of his time, after all, pulling talent out of companiesand his job is much easier when those companies dont do everything they can to retain their best performers.
  • First of all, they need to do a better job of recognizing who their top talents are and then telling them that theyre top talents, says Alleman.
  • Companies will often identify the people who have the ability to grow and thrivebut then, he says, bosses dont do a good job of communicating to that individual that they see such potential and that they have a plan to help them fully realize it.
  • Second, the majority of companies, he says, do a poor job of laying out an attractive career path for their peoplea career path that will foster growth and learning.

Tags: recruiter Karl Alleman, Ultra-Tight Job Market, cell phone conversations, extra ecru-colored stationery, editor-at-large Geoff Colvin

Top React Courses

Modern React with Redux (86,762 students enrolled)

By Stephen Grider
  • Build amazing single page applications with React JS and Redux
  • Master fundamental concepts behind structuring Redux applications
  • Realize the power of building composable components
  • Be the engineer who explains how Redux works to everyone else, because you know the fundamentals so well
  • Become fluent in the toolchain supporting React, including NPM, Webpack, Babel, and ES6/ES2015 Javascript syntax

Learn more.


The Complete React Native and Redux Course (53,888 students enrolled)

By Stephen Grider
  • Create real-world native apps using React Native
  • Make truly reusable components that look great
  • Understand the terminology and concepts of Redux
  • Prototype and deploy your own applications to the Apple and Google Play Stores
  • Get up to speed with React design principles and methodologies
  • Discover mobile design patterns used by experienced engineers

Learn more.


Advanced React and Redux (35,016 students enrolled)

By Stephen Grider
  • Build a scaleable API with authentication using Express, Mongo, and Passport
  • Learn the differences between cookie-based and token-based authentication
  • Figure out what a Higher Order Component and how to use it to write dramatically less code
  • Write Redux middleware from scratch to uncover what is happening behind the scenes with Redux
  • Set up your own testing environment with Mocha and Chai
  • Realize the power of building composable components

Learn more.


React Redux React-Router: From Beginner to Paid Professional (11,715 students enrolled)

By Leonardo Daniel
  • Building your amazing web applications with React JS and Redux
  • Getting a high-paying job as a front-end developer
  • Getting experience through doing many exercises. Re-enforcing your knowledge of ES6, advanced JavaScript, Redux, React through attempting a lot of quizzes. Practice makes perfect.
  • Becoming familiar with the technologies supporting React, including NPM, Webpack, Babel, and ES6/ES2015.

Learn more.


React Native: Advanced Concepts (16,058 students enrolled)

By Stephen Grider
  • Make compelling applications using expert-level features of React Native
  • Create amazingly smooth and performant animations
  • Build new React Native apps with Expo
  • Understand the latest Navigation options for new React Native apps
  • Add logic to your Firebase backend with Google Cloud Functions
  • Update your users with cross platform Push Notifications
  • Handle your users going offline with Redux Persist

Learn more.


React JS and Redux - Mastering Web Apps (54,299 students enrolled)

By David Katz
  • Develop entire React JS and Redux applications from scratch.
  • Build applications that deal with APIs and web requests.
  • Discuss ES6 and advanced JavaScript.
  • Create web apps with full authentication, and real-time database.

Learn more.


React basic in just 1 hour (22,331 students enrolled)

By Leo Trieu
  • Taste of how to build your very first React component.
  • How to handle event in components.
  • Understand two key concepts of React: State and Props.
  • How to reuse and nest components.
  • How to transfer data between Parent, Child components.
  • How to work with Array, Form

Learn more.


Meteor and React for Realtime Apps (7,889 students enrolled)

By Stephen Grider
  • Create interactive web apps amazingly fast
  • Build amazing single page applications with Meteor and React JS
  • Master fundamental concepts behind structuring Meteor applications
  • Learn the true purpose of Meteor in a modern application
  • Be the engineer who explains how Meteor works to everyone else, because you know the fundamentals so well
  • Build and prototype interesting personal projects in a weekend

Learn more.


GraphQL with React: The Complete Developers Guide (14,683 students enrolled)

By Stephen Grider
  • Build amazing single page applications with React JS and GraphQL
  • Master fundamental concepts behind structuring GraphQL servers
  • Realize the power of building flexible data schemas
  • Be the engineer who explains how GraphQL works to everyone else, because you know the fundamentals so well
  • Become fluent in the ecosystem supporting GraphQL, including the differences between Apollo and Relay

Learn more.


Essentials in JavaScript ES6 - A Fun and Clear Introduction (40,155 students enrolled)

By David Katz
  • Create ES6 applications from the ground up.
  • Use the terminal/command-line application and a code editor to code.
  • Look at ES6 code and understand keyword and concepts.
  • Create live development servers with Webpack.

Learn more.


The Full JavaScript & ES6 Tutorial - (including ES7 & React) (55,808 students enrolled)

By David Katz
  • Code in JavaScript like a pro.
  • Code in es6 comfortably, using all the new features.
  • Build es6 projects from the ground up using tools like webpack and babel.
  • Create a basic ReactJS application from scratch.

Learn more.