Your Choice JavaScript News

React News Monday, February 12

React News TLDR / Table of Contents

  • nitin42/react-handy-renderer
    • react-handy-renderer – ✏️ Draw 2D primitives in sketchy style with React
    • color=, import React, Ellipse position=, weight=, REACT HANDY RENDERER
  • thelounge/lounge
    • lounge – 💬 The Lounge — Modern self-hosted web IRC client
    • Add SECURITY guidelines, security vulnerability disclosures, uncategorized items Jan, Fix incorrect documentation, Fix duplicate chat
  • 59023g/docker-nginx-letsencrypt-upstream
    • docker-nginx-letsencrypt-upstream – infrastructure: docker-compose config for node and redis behind upstream nginx ( SSL/HTTPS ) on debian jessie
    • Docker compose config, huge Docker fan, proxy upstream node, Google Chrome, latest Safari
  • Using React, Redux and Webpack with Dotnet Core to build a modern web frontend
    • As a developer, I consider myself mostly a Dotnet developer. But when building modern applications for the web, there’s no way around it: every web developer now also has to be a javascript…
    • typescript code, Dotnet Core, Hot Module Reloading, typescript code generation, typescript client code
  • Lifting State Up – React
    • Often, several components need to reflect the same changing data. We recommend lifting the shared state up to their closest common ancestor. Let’s see how this works in action.
    • temperature, const temperature, input, ,

Score: 899.5185989194341
URL: https://github.com/nitin42/react-handy-renderer
Tweeted At: Mon Feb 12 09:21:00 +0000 2018
Publish Date:
Author: nitin42

  • Theory on design and effects of sketchy rendering – – You can find the demo here on CodeSandbox (switch on module view on the top right and go to /demo) – – and one wrapper component called Paper which serves as a canvas on which these primitives are drawn.
  • Here is a basic example – – – You can also render the primitives when working with ReactDOM as this just renders to a canvas node.
  • , { } { , , , , , , , , } () { ( Paper bowing { } width { } height { } Line from {{x , y }} to {{x , y }} weight { } color Paper ) } ( Sketch , .
  • ( )) create function has already rendered the canvas node.
  • Make changes directly to the component.

Tags: color=, import React, Ellipse position=, weight=, REACT HANDY RENDERER

Score: 832.8003247631934
URL: https://github.com/thelounge/lounge/
Tweeted At: Sun Feb 04 09:59:11 +0000 2018
Publish Date:
Author: thelounge

  • To learn more about configuration, usage and features of The Lounge, take a look at the website.
  • The Lounge is the official and community-managed fork of Shout, by Mattias Erming.
  • The Lounge requires Node.js v4 or more recent.
  • Run this in a terminal to install (or upgrade) the latest stable release from npm: – – For more information, read the documentation, wiki, or run: – – The following commands install and run the development version of The Lounge: – – When installed like this, npm doesn’t create a…
  • Simply follow the instructions to run The Lounge from source above, on your own fork.

Tags: Add SECURITY guidelines, security vulnerability disclosures, uncategorized items Jan, Fix incorrect documentation, Fix duplicate chat

Score: 1162.6757780784844
URL: https://github.com/59023g/docker-nginx-letsencrypt-upstream
Tweeted At: Mon Feb 12 11:26:07 +0000 2018
Publish Date:
Author:

  • Docker compose config for proxy upstream node servers behind SSL ( Let’s Encrypt ) Nginx on Debian Jessie.
  • Personally I am not a huge Docker fan and err on the side of bash scripts and/or Lambda, but this may be valuable to you.

Tags: Docker compose config, huge Docker fan, proxy upstream node, Google Chrome, latest Safari

Score: 285.04418225419647
URL: https://medium.com/@MaartenSikkema/using-react-redux-and-webpack-with-dotnet-core-to-build-a-modern-web-frontend-7e2d091b3ba#.2z6mksc7o
Tweeted At: Sun Mar 26 17:37:52 +0000 2017
Publish Date: 2017-03-26T17:02:00.424000+00:00
Author: Maarten Sikkema

  • The templates for typescript code generation are part of the project, and they can be adapted to your own requirements and conventions.AspNet JavascriptServicesA good starting point for a Dotnet Core javascript project is the AspNet JavascriptServices project, maintained by Steven Sanderson, of Knockout.js fame.
  • I selected the React with Redux and Typescript variant.What you get, on top of a normal Dotnet Core MVC project are:A reference to the nuget package This references the package that makes it possible to execute javascript code from Dotnet.
  • csproj project file to run npm install and webpack as part of the Dotnet build and publish typescript from C#codeTo assist in synchronizing C# and Typescript code, specifically Redux State and Actions, and data passed via Web API models, I used Typewriter.
  • Typewriter works as a Visual Studio plugin, and the generated typescript code is exported at development time in a server folder under ClientApp (where all client code is), so it can be referenced by the rest of the typescript client code.I created two templates:Models.tstfor all classes with a name ending…
  • This works very well, and the type safety of typescript avoids a lot of problems before they happen.React Components in TypescriptThe React Components in the project follow the pattern of AspNet Javascript Services: they are built using TSX syntax, the typed equivalent of JSX.

Tags: typescript code, Dotnet Core, Hot Module Reloading, typescript code generation, typescript client code

Score: 253.552782234957
URL: https://reactjs.org/docs/lifting-state-up.html
Tweeted At: Sun Feb 11 18:49:22 +0000 2018
Publish Date:
Author:

  • Currently, both components independently keep their values in the local state: – – However, we want these two inputs to be in sync with each other.
  • Since the props of both components are coming from the same parent component, the two inputs will always be in sync.
  • It will handle the change by modifying its own local state, thus re-rendering both inputs with the new values.
  • For example, if we enter 37 into the Celsius input, the state of the component will be: – – If we later edit the Fahrenheit field to be 212, the state of the will be: – – We could have stored the value of both inputs but it turns out…
  • The inputs stay in sync because their values are computed from the same state: – – Try it on CodePen.

Tags: temperature, const temperature, input, ,

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.