The Complete React on Rails Course

The Complete React on Rails Course

Enroll now

Learn how to use React.js with Ruby on Rails in this comprehensive course
Enrol now

The course is now also available as a book! NEW!

You can read all the text lessons online as a web ebook or download it for offline use in PDF, epub (Apple books) and mobi (Kindle) formats.

A message from the course creator

After teaching thousands of developers how to use React with Rails through this course, I have redesigned the course from the ground up.

Like the original course, the new version is going to be hands-on but even sharper and more practical.

It's designed around building a complete real-world application - an Eventbrite clone - that will cover most of the concepts you will encounter in your job.

The course material is based on the latest versions of Rails (6+) and React (16+).

Hrishi Mittal

Hrishi Mittal

You know Rails well. You've been using it for a while, at your job and for your own projects. You've got comfortable using jQuery on the frontend, and come to know its gotchas. Maybe you've dabbled in Ember or looked at Angular.

Recently, you came across React. Everyone's talking about it. Every other job post on Hacker News mentions it. So you decide to up your frontend game and learn it.

Maybe you've picked up the basics from some docs, blog posts and Youtube videos. It seems cool. But you're not sure if it's worth using it with Rails just yet.

It's all too confusing and intimidating. You thought React is just a frontend library, and you could just drop it in like jQuery. But then what's all this stuff about Babel, Webpack, ES6, Redux and five different gems for integrating with Rails.

You have more questions than answers now.

Which gem should I use for integrating React in a Rails app?
Can I still use the asset pipeline?
Do I need to use Browserify or Webpack?
Do I need to make an API to use React?

It's too confusing, so you give up.

"jQuery works fine anyway", you think to yourself.

But you know you need to keep up with the times.

You might be able to get by without React for a few more months, but you know the next client or the next employer will want you to use it.

You won't be able to get that job or expand your freelance business unless you add React to your toolbelt.

You must get good at using React to make sure you get better work and earn more.

Fortunately, there’s a way to address this: by exploring how to use React with Rails using different methods and in different situations, starting from very simple single-form apps to more complex apps with multiple routes and APIs.

How? With this premium course that teaches you everything you need to know about using React with Rails. It’s called The Complete React on Rails Course.

Introducing The Complete React on Rails Course

"The course is very comprehensive and Hrishi is excellent at explaining everything in great detail. It starts with a simple Rails app which you migrate into React components, which gives you a great understanding of how much better a React approach is. I came into the course feeling overwhelmed by the React ecosystem, but I'm now feeling confident in my ability to move RankTracker's Rails views into React components."

This course will teach you how you can incorporate React into your Rails apps, starting from a very simple single page app to gradually more complex examples. You'll learn all about the different ways you can use React with Rails and at the end of the course, be able to choose the best option for your needs.

It’s not enough to simply learn React. You need to be able to make React work well with a backend system - in your case, a Rails app. This course will help you learn all the nitty-gritty details so you can confidently upgrade your Rails frontend with the latest hotness in JavaScript land.

"The course is wonderful, it's put together very well and helps both with understanding the theoretical concepts as well as their practical implementation. I've learned a lot from it and would recommend it to anyone, both seasoned developers and people who are just starting out."

But why is learning React so important for a Rails developer?

  • Web UIs have matured a lot over the last decade. We're doing more complex things to build better user experiences on the web. jQuery has served well but even a medium-sized project can now quickly turn into the Flying Spaghetti Monster. React offers a simple yet powerful alternative to spaghetti code.

  • Even if React itself is replaced by something else, the concept of reactive UI - UI as functional components is here to stay. So it'll help you a great deal to learn to use it.

  • In many ways React is to the modern frontend, what Rails is to the backend - there are many alternatives, but React has the best combination of simplicity, power and popularity to make it a great choice.

  • There's a huge and growing market demand for React developers. Many companies are moving their frontend away from plain Rails templates and jQuery over to React, so learning React would give you a unique advantage over others vying for the same jobs.

  • Once you learn to use React with Rails, you can also use React Native to build mobile apps for the same API. This way, your investment in learning React gives you the chance to easily build cross-platform apps.

What are we going to build?

We'll start with a simple single page app and gradually build up a clone of Eventbrite - an events web app.

The React on Rails course takes a hands-on approach to teach you how to confidently start using React in your Rails projects. It includes video lessons and text explanations of all the important aspects of using React with Rails.

As you follow along the course, you will build real applications as projects to make sure you thoroughly understand everything. You will get full access to the project code. You'll also get direct access to the teacher and the community of students for asking any questions and getting all the help you need.

What You'll Get With This Course

  • Lifetime access to well-structured text and video lessons
  • Full access to well-structured Git repositories of project code
  • Access to discussion forum for getting help from the teacher and other students
"Before stumbling upon Hrishi's Complete React on Rails course, I had been browsing for numerous articles, and youtube videos on how to learn React. My approach was to learn how to use the React library itself, and then eventually figure out how to implement it into a Rails project. I decided to pick this course because it is project based. It encompassed everything from implementation, testing, to deployment using Heroku. Hrishi does an excellent job at conveying the principles used in React. Each lesson gave me great confidence with each new concept that was introduced; there was an explanation of what we were doing and why it is done this way. If you want to learn how to use React with Rails, this course is a must. One of the best tutorials since taking Michael Hartl's Rails Tutorial. The best part of this course so far has been incrementally building the application, and then deploying it. One of the biggest concepts I've learned is how to build a component based application. For a beginner, it makes development less daunting, and easier to grasp, but overall it makes application development so much simpler. This course is helping to build my own personal website using React and Rails, and ultimately getting a job as a developer."


eBook Pack

  • Build: Eventbrite clone
  • Ebook version of the course
  • Read online in your browser
  • Download and read offline in PDF, mobi (Kindle), and epub (Apple books) formats
  • Completely DRM-free
  • Now includes React Hooks
  • Full source code of Eventbrite clone app
  • Exercises for practice and problem-solving
  • Access to discussion forum

Video Pack

  • Build: Eventbrite clone
  • Video version of the course
  • Ebook version of the course
  • Read and watch online in your browser
  • Download ebook and read offline in PDF, mobi (Kindle), and epub (Apple books) formats
  • Completely DRM-free
  • Includes React Hooks
  • Full source code of Eventbrite clone app
  • Exercises for practice and problem-solving
  • Access to discussion forum

Bonus Pack

  • Build: Eventbrite clone with payments
  • Video & ebook version of the course
  • 1-hour private Q&A call
  • Read and watch online in your browser
  • Download ebook and read offline in PDF, mobi (Kindle), and epub (Apple books) formats
  • Completely DRM-free
  • Includes React Hooks
  • Full source code of Eventbrite clone app
  • Exercises for practice and problem-solving
  • Access to discussion forum
  • BONUS Module: Stripe integration
  • Download videos for offline use
  • 1-hour private Q&A call

Course Lessons

  • 1. Introduction to the course

    1.1. Code, resources and downloads

    1.2. What you'll learn in this course

    1.3. How to get help

  • 2. Introduction to React

    2.1. What is React?

    2.2. Why do we need React?

    2.3. What is a React Component?

    2.4. What is JSX?

    2.5. What are Props?

    2.6. What is State?

  • 3. Your first React Rails app

    3.1. How to use React inside Ruby on Rails

    3.2. Setting up the Eventlite app with webpacker

    3.3. Eventlite app components structure

    3.4. Listing Events

    3.5. Adding a backend Event data model

    3.6. Adding a React form component to create new records

    3.7. Handling form submissions in React

    3.8. Lifting state up

    3.9. Deploying your React Rails app to Heroku

    3.10. Server side rendering (SSR) with React and Rails

  • 4. Forms in depth

    4.1. Basic React form validation in a Rails app

    4.2. Client-side form validation in Rails with React

    4.3. Generalised Form Validations - Part 1

    4.4. Generalised form validations - Part 2

    4.5. Typechecking With PropTypes

    4.6. Controlled vs Uncontrolled Components - What are Refs?

  • 5. Using React with a Rails API

    5.1. Creating a Rails API

    5.2. Using Create React App to build a standalone frontend app

    5.3. API User authentication with devise_token_auth

    5.4. Adding a Login form

    5.5. Linking the User and Event models

    5.6. Displaying session data and signing out

    5.7.  Adding a Signup form

    5.8. Exercises for Rails API Authentication with React

  • 6. React Router

    6.1. Introduction to React Router

    6.2. Home and authentication routes

    6.3. React Router Links for navigating between routes

    6.4. Redirection

    6.5. Viewing a single record on its own Route

    6.6. Editing a record - Part 1

    6.7. Editing an event - Part 2

    6.8. Deleting a record

    6.9. Exercises for React Router

  • 7. React Hooks

    7.1. What are React Hooks?

    7.2. useState - The State Hook

    7.3. useEffect - The Effect Hook

    7.4. React Router hooks

    7.5. Exercises for React Hooks

  • 8. Styling React apps

    8.1. Introduction to Styling React components

    8.2. How to use Bootstrap with React (react-bootstrap)

    8.3. How to style your React app with Material UI

    8.4. Exercises for Styling React apps

  • 9. Testing React Apps

    9.1. How to test React apps

    9.2. How to test text and image elements in React components

    9.3. Snapshot Testing React Components

    9.4. Testing React forms

    9.5. React tests setup and teardown

    9.6. Exercises for Testing React apps

About the instructor

Hrishi Mittal

Hrishi Mittal

Hi, I'm the founder of Learnetto.

I help people with Ruby on Rails, React and their developer careers.

Want personal help?
Book a free 30-minute call with me -

Frequently Asked Questions (FAQ)

Is this a one-time fee or a recurring subscription?

This is a one-time fee. You will only be charged once.

How long will I have access to the course content?

You will have unlimited lifetime access to the course content. You can use it any time at your own convenience.

What happens if I'm not happy with the course? What is your refund policy?

We have a completely risk-free refund policy. If you're not happy with your purchase for any reason, you can get a full refund at any time. Just email [email protected] with the email address you enrolled with and your receipt number.

I have another question you haven't answered.

Feel free to email us at [email protected] with all your questions.