Skip to content

Commit 8ab2c7b

Browse files
committed
Remove Addons distributables
1 parent 4b73b9f commit 8ab2c7b

File tree

32 files changed

+1843
-52819
lines changed

32 files changed

+1843
-52819
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,6 @@ Components must be accessible from the top level, but they may be namespaced, fo
139139

140140
`//= require react` brings `React` into your project.
141141

142-
To include `React.addons`, add this config:
143-
144-
```ruby
145-
# config/application.rb
146-
MyApp::Application.configure do
147-
config.react.addons = true # defaults to false
148-
end
149-
```
150-
151142
By default, React's [development version] is provided to `Rails.env.development`. You can override the React build with a config:
152143

153144
```ruby

Rakefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,8 @@ namespace :react do
3232
task :copy do
3333
environments = ['development', 'production']
3434
environments.each do |environment|
35-
# Without addons:
3635
copy_react_asset("#{environment}/react-browser.js", "#{environment}/react.js")
3736
copy_react_asset("#{environment}/react-server.js", "#{environment}/react-server.js")
38-
39-
# With addons:
40-
copy_react_asset("#{environment}/react-browser-with-addons.js", "#{environment}-with-addons/react.js")
41-
copy_react_asset("#{environment}/react-server-with-addons.js", "#{environment}-with-addons/react-server.js")
4237
end
4338
end
4439

0 commit comments

Comments
 (0)