From b9d73f92a47675c4fc5c6c5a0646d62fc8323d94 Mon Sep 17 00:00:00 2001 From: ihabadham Date: Mon, 29 Sep 2025 20:10:32 +0300 Subject: [PATCH] fix dead links --- docs/additional-details/manual-installation-overview.md | 2 +- docs/javascript/react-router.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/additional-details/manual-installation-overview.md b/docs/additional-details/manual-installation-overview.md index 027c4c55b7..2f5f83e7aa 100644 --- a/docs/additional-details/manual-installation-overview.md +++ b/docs/additional-details/manual-installation-overview.md @@ -13,7 +13,7 @@ The only requirements within this directory for basic React on Rails integration 1. Your Webpack configuration files: 1. Create outputs in a directory like `/public/webpack`, which is customizable in your `config/initializers/react_on_rails.rb`. 1. Provide server rendering if you wish to use that feature. -1. Your JavaScript code "registers" any components and stores per the ReactOnRails APIs of ReactOnRails.register(components) and ReactOnRails.registerStore(stores). See [our JavaScript API docs](../api/javascript-api.md) and the [React on Rails source](https://github.com/shakacode/react_on_rails/tree/master/packages/react-on-rails/src/ReactOnRails.client.ts). +1. Your JavaScript code "registers" any components and stores per the ReactOnRails APIs of ReactOnRails.register(components) and ReactOnRails.registerStore(stores). See [our JavaScript API docs](../api/javascript-api.md) and the [React on Rails source](https://github.com/shakacode/react_on_rails/blob/master/packages/react-on-rails/src/ReactOnRails.client.ts). 1. Set your registration file as an "entry" point in your Webpack configs. 1. Configure scripts in `client/package.json` as shown in the example apps. These are used for building your Webpack assets. Also do this for your top-level `package.json`. diff --git a/docs/javascript/react-router.md b/docs/javascript/react-router.md index 3cae7cbdf1..318b80d301 100644 --- a/docs/javascript/react-router.md +++ b/docs/javascript/react-router.md @@ -28,9 +28,9 @@ For a fleshed out integration of React on Rails with React Router, check out [Re - [react-webpack-rails-tutorial/client/app/bundles/comments/routes/routes.jsx](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/routes/routes.jsx) -- [react-webpack-rails-tutorial/client/app/bundles/comments/startup/ClientRouterApp.jsx](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/startup/ClientRouterApp.jsx) +- [react-webpack-rails-tutorial/client/app/bundles/comments/startup/RouterApp/ror_components/RouterApp.client.jsx](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/startup/RouterApp/ror_components/RouterApp.client.jsx) -- [react-webpack-rails-tutorial/client/app/bundles/comments/startup/ServerRouterApp.jsx](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/startup/ServerRouterApp.jsx) +- [react-webpack-rails-tutorial/client/app/bundles/comments/startup/RouterApp/ror_components/RouterApp.server.jsx](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/startup/RouterApp/ror_components/RouterApp.server.jsx) # Server Rendering Using React Router V4