...

/

Introduction to Using React with Rails

Introduction to Using React with Rails

Read about how we can use React with Rails in our project.

Introduction

React has emerged as the most popular of the current JavaScript frameworks, with a large ecosystem and user base. Structurally, React is the polar opposite of Stimulus. It is more complex, and its design reflects fundamentally different assumptions about how to manage state and logic in a JavaScript program. Specifically, a React application expects to get data from the server, managing state and HTML by manipulating the DOM on the client using a custom HTML-generation language called JSX.

For this course, we will only use a fraction of React’s capabilities. That is, we’ll focus on using React to ...