Remove unused react-rails gem
The connection_pool gem changed their API, which caused a breakage in our react-rails gem. It turns out though, we're not actually using react-rails anymore. It's primarily for React server-side rendering, which we don't do. Our React code is bundled as normal Javascript via our usual asset pipeline. So, to resolve the gem incompatibility, we remove react-rails altogether. Neat!
This commit is contained in:
parent
63f8768cc3
commit
9c4a0cd7a3
7 changed files with 0 additions and 16 deletions
1
Gemfile
1
Gemfile
|
|
@ -18,7 +18,6 @@ gem 'sprockets', '~> 4.2'
|
|||
gem 'haml', '~> 6.1', '>= 6.1.1'
|
||||
gem 'sass-rails', '~> 6.0'
|
||||
gem 'terser', '~> 1.1', '>= 1.1.17'
|
||||
gem 'react-rails', '~> 2.7', '>= 2.7.1'
|
||||
gem 'jsbundling-rails', '~> 1.3'
|
||||
gem 'turbo-rails', '~> 2.0'
|
||||
|
||||
|
|
|
|||
11
Gemfile.lock
11
Gemfile.lock
|
|
@ -111,10 +111,6 @@ GEM
|
|||
async-container (~> 0.16)
|
||||
string-format (~> 0.2)
|
||||
attr_required (1.0.2)
|
||||
babel-source (5.8.35)
|
||||
babel-transpiler (0.7.0)
|
||||
babel-source (>= 4.0, < 6)
|
||||
execjs (~> 2.0)
|
||||
backport (1.2.0)
|
||||
base64 (0.3.0)
|
||||
bcrypt (3.1.20)
|
||||
|
|
@ -385,12 +381,6 @@ GEM
|
|||
erb
|
||||
psych (>= 4.0.0)
|
||||
tsort
|
||||
react-rails (2.7.1)
|
||||
babel-transpiler (>= 0.7.0)
|
||||
connection_pool
|
||||
execjs
|
||||
railties (>= 3.2)
|
||||
tilt
|
||||
regexp_parser (2.11.3)
|
||||
reline (0.6.3)
|
||||
io-console (~> 0.5)
|
||||
|
|
@ -568,7 +558,6 @@ DEPENDENCIES
|
|||
rails (~> 8.0, >= 8.0.1)
|
||||
rails-i18n (~> 8.0, >= 8.0.1)
|
||||
rdiscount (~> 2.2, >= 2.2.7.1)
|
||||
react-rails (~> 2.7, >= 2.7.1)
|
||||
rspec-rails (~> 7.0)
|
||||
sanitize (~> 6.0, >= 6.0.2)
|
||||
sass-rails (~> 6.0)
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ Rails.application.configure do
|
|||
# Highlight code that enqueued background job in logs.
|
||||
config.active_job.verbose_enqueue_logs = true
|
||||
|
||||
config.react.variant = :development
|
||||
|
||||
# Highlight code that triggered redirect in logs.
|
||||
config.action_dispatch.verbose_redirect_logs = true
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ Rails.application.configure do
|
|||
config.log_tags = [ :request_id ]
|
||||
config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
|
||||
|
||||
config.react.variant = :production
|
||||
|
||||
# Change to "debug" to log everything (including potentially personally-identifiable information!).
|
||||
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
|
||||
|
||||
|
|
|
|||
BIN
vendor/cache/babel-source-5.8.35.gem
vendored
BIN
vendor/cache/babel-source-5.8.35.gem
vendored
Binary file not shown.
BIN
vendor/cache/babel-transpiler-0.7.0.gem
vendored
BIN
vendor/cache/babel-transpiler-0.7.0.gem
vendored
Binary file not shown.
BIN
vendor/cache/react-rails-2.7.1.gem
vendored
BIN
vendor/cache/react-rails-2.7.1.gem
vendored
Binary file not shown.
Loading…
Reference in a new issue