Rails for Front-end Development: Essential Tools

Gain insights into using Rails Webpacker, Webpack, and TypeScript to build applications. Learn about Stimulus and React for rich interactions, state management, testing, and troubleshooting.

Intermediate

120 Lessons

25h

Certificate of Completion

Gain insights into using Rails Webpacker, Webpack, and TypeScript to build applications. Learn about Stimulus and React for rich interactions, state management, testing, and troubleshooting.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

68 Playgrounds
15 Quizzes

This course includes

68 Playgrounds
15 Quizzes

Course Overview

In this course, you will learn to build a fully-functional application with Rails Webpacker, Webpack, and TypeScript. To kick things off, you’ll walk through the basics of getting Rails set up to use Webpacker which will serve JavaScript and CSS to the browser. You’ll then get acquainted with Stimulus and React which will help with creating richer interactions. In the latter half, you’ll work with TypeScript and set up communication between a server. Beyond that, you’ll work through managing state in your...Show More

TAKEAWAY SKILLS

React Frontend In Rails

Ruby Gem's Management

Webpacker

What You'll Learn

Build a fully-functional application with Rails, Webpacker, Webpack, TypeScript and dynamic CSS

Learn how Turbolinks makes navigating your web application faster

Learn how Stimulus framework enhance static or server-rendered HTML as compared to other front-end frameworks

Understand how React and ActionCable allow you to change data without reloading the page

Learn how to manage state in Stimulus, React and Redux

Learn code validation and testing using Cypress

What You'll Learn

Build a fully-functional application with Rails, Webpacker, Webpack, TypeScript and dynamic CSS

Show more

Course Content

1.

Getting Started

Get familiar with enhancing Rails apps with Hotwire, Turbo, Webpacker, and React.
2.

Client-side Rails

Get started with Rails client-side tools, state management, client logic, and Webpacker configuration.
3.

Turbolinks

Master the steps to leverage Turbo for enhancing Rails app interactivity and performance.
4.

Stimulus

Grasp the fundamentals of Stimulus for enhancing HTML interactivity with minimal JavaScript.
5.

React

Deepen your knowledge of integrating React components with Rails, emphasizing state management and interactivity.

Book Review System Using ReactJS and Ruby on Rails

Project

6.

Cascading Style Sheets

9 Lessons

Follow the process of integrating and managing CSS in modern Rails front-end development.
7.

TypeScript

7 Lessons

Build on TypeScript's type annotations for enhanced code safety and error reduction.
8.

Webpack

4 Lessons

Step through using Webpack, Yarn, and Webpacker to optimize Rails front-end development.
9.

Webpacker

4 Lessons

Walk through using Webpacker for efficient asset management in Rails development and production.
10.

Talking to the Server

7 Lessons

Master the steps to effective client-server communication using Turbo Frames, Stimulus, and React.
11.

Immediate Communication with ActionCable

5 Lessons

Break down complex ideas related to integrating ActionCable with Turbo, Stimulus, and React for real-time updates.

Build a Chat Room Application Using ActionCable in Ruby on Rails

Project

12.

Managing State in Stimulus Code

5 Lessons

Take a closer look at managing state within Stimulus code using the DOM and data attributes.
13.

Managing State in React

7 Lessons

See how it works to manage global state in React using context, reducers, and hooks.
14.

Using Redux to Manage State

4 Lessons

Approach managing state in React with Redux for better asynchrony and clarity.
15.

Validating Code with Advanced TypeScript

8 Lessons

Step through TypeScript's advanced typing for robust code validation and error reduction.
16.

Testing with Cypress

8 Lessons

Get started with Cypress for end-to-end testing and integration in Rails applications.
17.

More Testing and Troubleshooting Basics

4 Lessons

Examine advanced testing and troubleshooting methodologies using Cypress for Hotwire and React applications.
18.

Appendix

10 Lessons

Grasp the fundamentals of comparing Hotwire and React, and learn app implementation using Rails, Stimulus, and ActionCable.

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor