You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/view-helpers-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Renderer functions are not meant to be used on the server since there's no DOM o
116
116
[React Router](https://reactrouter.com/) is supported, including server-side rendering! See:
117
117
118
118
1.[React on Rails docs for React Router](../javascript/react-router.md)
119
-
2. Examples in [spec/dummy/app/views/react_router](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/app/views/react_router) and follow to the JavaScript code in the [spec/dummy/client/app/startup/ServerRouterApp.jsx](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/client/app/startup/ServerRouterApp.jsx).
119
+
2. Examples in [spec/dummy/app/views/react_router](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/app/views/react_router) and follow to the JavaScript code in the [spec/dummy/client/app/startup/RouterApp.server.jsx](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/client/app/startup/RouterApp.server.jsx).
120
120
3.[Code Splitting docs](../javascript/code-splitting.md) for information about how to set up code splitting for server rendered routes.
_Note: The DeferredRender example components referenced in older versions of this document have been removed as this code splitting approach is outdated._
Copy file name to clipboardExpand all lines: docs/javascript/images.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ const assetLoaderRules = [
31
31
32
32
```
33
33
34
-
A full example can be found at [spec/dummy/client/app/components/ImageExample/ImageExample.jsx](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/client/app/components/ImageExample/ImageExample.jsx)
34
+
A full example can be found at [spec/dummy/client/app/startup/ImageExample.jsx](https://github.com/shakacode/react_on_rails/tree/master/spec/dummy/client/app/startup/ImageExample.jsx)
35
35
36
36
You are free to use images either in image tags or as background images in SCSS files. You can
37
37
use a "global" location of /client/app/assets/images or a relative path to your JS or SCSS file, as
0 commit comments