app/javascript/application.js
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
import 'bootstrap'
import 'react_app/index.tsx'
// Needed for custom anchor methods such as DELETE
require('@rails/ujs').start()