README.md in react-rails-2.4.4.pre vs README.md in react-rails-2.4.4

- old
+ new

@@ -125,9 +125,18 @@ `app/javascript/components/samplecomponent.js` | `react_component("samplecomponent")` `app/javascript/components/sample_component.js` | `react_component("sample_component")` `app/javascript/components/SampleComponent.js` | `react_component("SampleComponent")` `app/javascript/components/SampleComponent.js.jsx` | Has to be renamed to SampleComponent.jsx, then use `react_component("SampleComponent")` +### Typescript support + +If you want to use React-Rails with Typescript, simply run the installer and add @types: +``` +$ bundle exec rails webpacker:install:typescript +$ yarn add @types/react @types/react-dom +``` + +Doing this will allow React-Rails to support the .tsx extension. ## Use with Asset Pipeline `react-rails` provides a pre-bundled React.js & a UJS driver to the Rails asset pipeline. Get started by installing: