Quantcast
Channel: React – SitePoint
Browsing all 115 articles
Browse latest View live

Video: Getting Started with React

In this short video, we'll set up React in a plain HTML page and write our first React component. We'll cover everything you need to get started and take a first look at JSX, the way React templates...

View Article


Video: Using Props to Pass Data in React

In this video I'm going to show you how to send data into components using React. This will get you working your way towards more dynamic data with props. Loading the player... Continue reading %Video:...

View Article


Video: Understanding React Events

Understand how to create events through React. In this video I demonstrate the differences in events through React vs JavaScript. Loading the player... Continue reading %Video: Understanding React...

View Article

Video: An Introduction to Component State

Today's a good day because I'm teaching you about component states in React. We'll look at how to keep state, change state and finally how to render state. Loading the player... Continue reading...

View Article

Video: Introducing One-Way Data Flow

In this video, we look at React's concept of one-way data flow. We'll observe a very common example of two-way binding, from frameworks like Angular and Ember, and mimic the functionality in React....

View Article


Video: Controlled vs Uncontrolled Components in React

In this video we look at controlled inputs in React. This is unique concept to React that can be tricky to understand at first. We'll be polishing the demo we started in the last lesson "Introduction...

View Article

Creating Isomorphic Apps with Node.js, React, and Express

Over the past few years, the Web community has been abuzz with “isomorphic apps”. They are apps where the markup is rendered on the server and fed to the browser as complete HTML, and the successive...

View Article

Video: Using map() to Create Lists in React

In this video, we'll build our first list component. We'll use props, a plain old JavaScript Array, and the map() function. If you have no previous experience with the map() function, don't worry. This...

View Article


Watch: Capturing Time in React

Today we're taking the first steps to building a Stopwatch component from scratch! Over the next couple videos we'll build this stopwatch feature by feature. Today, we're focusing on capturing time...

View Article


Watch: Conditional Rendering in React

Today we'll build upon last week's Stopwatch component with conditional rendering. We'll conditionally show the "start" and "stop" buttons based on the state of our component. Additionally, we'll add a...

View Article

Watch: Adding a Lap Logger to a React Stopwatch

Adding a lap-timer is no walk in the park, but what good is a stopwatch that only tracks one lap? We'll take all we've learned about state, lists, and conditional rendering to add this new feature....

View Article

Watch: Using className to Add Style

Today is the epic conclusion of our Building a Stopwatch mini-series. We'll use className to add nice clean styles to our component. As a bonus, we'll remove duplication by creating a new Button...

View Article

React Data Fetching with Relay

React is ushering a new era in front end. Published by Facebook, it has rapidly become a popular library used in production by many technology companies. In this article, we’re going to discuss a new...

View Article


Watch: Using Webpack to Transform JSX

JavaScript processing can be cumbersome and confusing. One of the major objections people have with React is JSX' need to be pre-processed and packaged up for the browser. Fear not! The Webpack module...

View Article

Forget Angular & Ember, React Has Already Won the Client-Side War

In SitePoint's forums I stumbled across a thread entitled So Many Frameworks where Guido, confused at the sheer number of options available, was asking which JavaScript framework he should adopt to...

View Article


Bluff Your Way through React at the Dev Christmas Party

If you're thinking of using React but are overwhelmed by the number of resources, have given up resisting the noise, or just want to keep abreast of the state of things, read on. If you already use...

View Article

How to Build a Todo App Using React, Redux, and Immutable.js

In this article, we will build a test-driven example “Todo Application” using React, Redux, and Immutable.js. You can find the full source code for this application here and a live version here. The...

View Article


How to Build a WI-FI Dashboard Using Node.js and Ractive.js

In the past months, I’ve published a mini-series about dashboards. In the first article titled “Creating a Battery viz Using Node.js: Getting Started and Server”, I’ve shown how to create a Node.js...

View Article

React for Angular Developers

This article was peer reviewed by Craig Bilner. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! This article is for developers who are familiar with Angular...

View Article

Build an Android App with React Native

In this article I’ll be showing you how to create a Pokedex App with React Native in Android. The app wont be as full-featured as an app in the Google Play Store, with just a text field for entering...

View Article
Browsing all 115 articles
Browse latest View live