Skip to content

Commit 8ce8935

Browse files
committed
Support react 0.14 or 15
1 parent ee824ab commit 8ce8935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/generators/react_on_rails/templates/base/base/client/package.json.tt

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
<%- if options.redux? -%>
7272
"mirror-creator": "1.1.0",
7373
<%- end -%>
74-
"react": "^15.0.0",
74+
"react": "^0.14.8 || ^15.0.0",
7575
<%- unless options.skip_bootstrap? -%>
7676
"react-bootstrap": "^0.28.5",
7777
<%- end -%>
78-
"react-dom": "^15.0.0",
78+
"react-dom": "^0.14.8 || ^15.0.0",
7979
"react-on-rails": "<%= VersionSyntaxConverter.new.rubygem_to_npm %>",
8080
<%- if options.redux? -%>
8181
"react-redux": "^4.4.1",

0 commit comments

Comments
 (0)