Rails + Typescript + React.js

Example of project to show how to integrate React and Typescript into Rails application.

It shows how you can use both Rails views and React components.

Setup

Install Rails dependencies:

bundle install

Install npm packages:

yarn install

Run Rails server:

bin/rails s

Run webpack dev server:

bin/webpack-dev-server

Open browser on http://localhost:3175 address.