|
| 1 | +# React on Rails Documentation |
| 2 | + |
| 3 | +> **Integrate React components seamlessly into your Rails application with server-side rendering, hot reloading, and more.** |
| 4 | +
|
| 5 | +## 🚀 Quick Start |
| 6 | + |
| 7 | +New to React on Rails? Start here for the fastest path to success: |
| 8 | + |
| 9 | +**→ [15-Minute Quick Start Guide](./quick-start/README.md)** |
| 10 | + |
| 11 | +Already have Rails + Shakapacker? **→ [Add to existing app guide](./guides/installation-into-an-existing-rails-app.md)** |
| 12 | + |
| 13 | +## 📚 Learning Paths |
| 14 | + |
| 15 | +Choose your journey based on your experience level: |
| 16 | + |
| 17 | +### 🔰 **Beginner Path** |
| 18 | + |
| 19 | +Perfect if you're new to React on Rails |
| 20 | + |
| 21 | +1. **[Quick Start](./quick-start/README.md)** - Get your first component running |
| 22 | +2. **[Core Concepts](./getting-started.md)** - Understand the basics |
| 23 | +3. **[Tutorial](./guides/tutorial.md)** - Build something useful |
| 24 | + |
| 25 | +### ⚡ **Experienced Developer Path** |
| 26 | + |
| 27 | +Jump to what you need |
| 28 | + |
| 29 | +- **[Installation Guide](./guides/installation-into-an-existing-rails-app.md)** - Detailed setup |
| 30 | +- **[API Reference](./api/README.md)** - Quick lookup |
| 31 | +- **[Advanced Features](./guides/advanced/README.md)** - SSR, Redux, Router |
| 32 | + |
| 33 | +### 🏗️ **Migrating from Other Solutions** |
| 34 | + |
| 35 | +- **[From react-rails](./additional-details/migrating-from-react-rails.md)** - Switch from the react-rails gem |
| 36 | +- **[Upgrading React on Rails](./guides/upgrading-react-on-rails.md)** - Version upgrade guide |
| 37 | + |
| 38 | +## 🎯 Popular Use Cases |
| 39 | + |
| 40 | +Find guidance for your specific scenario: |
| 41 | + |
| 42 | +| I want to... | Go here | |
| 43 | +| ----------------------------------- | -------------------------------------------------------------------------- | |
| 44 | +| **Add React to existing Rails app** | [Installation Guide](./guides/installation-into-an-existing-rails-app.md) | |
| 45 | +| **Enable server-side rendering** | [SSR Guide](./guides/react-server-rendering.md) | |
| 46 | +| **Set up hot reloading** | [HMR Setup](./guides/hmr-and-hot-reloading-with-the-webpack-dev-server.md) | |
| 47 | +| **Use Redux with Rails** | [Redux Integration](./javascript/react-and-redux.md) | |
| 48 | +| **Deploy to production** | [Deployment Guide](./guides/deployment.md) | |
| 49 | +| **Troubleshoot issues** | [Troubleshooting](./troubleshooting/README.md) | |
| 50 | + |
| 51 | +## 📖 Complete Documentation |
| 52 | + |
| 53 | +### Core Guides |
| 54 | + |
| 55 | +- **[Getting Started](./getting-started.md)** - Installation and basic setup |
| 56 | +- **[Tutorial](./guides/tutorial.md)** - Complete walkthrough with examples |
| 57 | +- **[Configuration](./guides/configuration.md)** - All configuration options |
| 58 | +- **[View Helpers](./api/view-helpers-api.md)** - Using `react_component` method |
| 59 | + |
| 60 | +### Features |
| 61 | + |
| 62 | +- **[Server-Side Rendering](./guides/react-server-rendering.md)** - SSR setup and optimization |
| 63 | +- **[Auto-Bundling](./guides/auto-bundling-file-system-based-automated-bundle-generation.md)** - Automatic bundle generation |
| 64 | +- **[Redux Integration](./javascript/react-and-redux.md)** - State management with Redux |
| 65 | +- **[React Router](./javascript/react-router.md)** - Client-side routing |
| 66 | +- **[Internationalization](./guides/i18n.md)** - I18n support |
| 67 | + |
| 68 | +### Development |
| 69 | + |
| 70 | +- **[Hot Module Replacement](./guides/hmr-and-hot-reloading-with-the-webpack-dev-server.md)** - Fast development workflow |
| 71 | +- **[Testing](./guides/rspec-configuration.md)** - Testing React components |
| 72 | +- **[Debugging](./javascript/troubleshooting-build-errors.md)** - Common debugging techniques |
| 73 | + |
| 74 | +### Deployment & Performance |
| 75 | + |
| 76 | +- **[Deployment](./guides/deployment.md)** - Production deployment guide |
| 77 | +- **[Performance](./guides/webpack-configuration.md)** - Optimization techniques |
| 78 | +- **[Bundle Optimization](./guides/webpack-configuration.md)** - Reduce bundle size |
| 79 | + |
| 80 | +## 🆘 Need Help? |
| 81 | + |
| 82 | +### Quick Solutions |
| 83 | + |
| 84 | +- **[Troubleshooting Guide](./troubleshooting/README.md)** - Common issues and solutions |
| 85 | +- **[FAQ](./troubleshooting/README.md)** - Frequently asked questions |
| 86 | +- **[Error Messages](./javascript/troubleshooting-build-errors.md)** - Decode error messages |
| 87 | + |
| 88 | +### Community Support |
| 89 | + |
| 90 | +- **[React + Rails Slack](https://reactrails.slack.com)** - Real-time community help |
| 91 | +- **[GitHub Discussions](https://github.com/shakacode/react_on_rails/discussions)** - Ask questions |
| 92 | +- **[GitHub Issues](https://github.com/shakacode/react_on_rails/issues)** - Report bugs |
| 93 | + |
| 94 | +### Professional Support |
| 95 | + |
| 96 | +- **[ShakaCode Support](mailto:react_on_rails@shakacode.com)** - Professional React on Rails help |
| 97 | +- **[React on Rails Pro](https://www.shakacode.com/react-on-rails-pro/)** - Advanced features and support |
| 98 | + |
| 99 | +## 🔗 External Resources |
| 100 | + |
| 101 | +- **[Shakapacker Documentation](https://github.com/shakacode/shakapacker)** - Webpack integration for Rails |
| 102 | +- **[React Documentation](https://react.dev)** - Official React docs |
| 103 | +- **[Rails Guides](https://guides.rubyonrails.org)** - Ruby on Rails documentation |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | +## 📚 Table of Contents |
| 108 | + |
| 109 | +### API Reference |
| 110 | + |
| 111 | +- [View Helpers API](./api/view-helpers-api.md) |
| 112 | +- [Redux Store API](./api/redux-store-api.md) |
| 113 | +- [JavaScript API](./api/javascript-api.md) |
| 114 | + |
| 115 | +### Guides |
| 116 | + |
| 117 | +#### Getting Started |
| 118 | + |
| 119 | +- [Installation](./getting-started.md) |
| 120 | +- [Tutorial](./guides/tutorial.md) |
| 121 | +- [Basic Configuration](./guides/configuration.md) |
| 122 | + |
| 123 | +#### Core Features |
| 124 | + |
| 125 | +- [Server-Side Rendering](./guides/react-server-rendering.md) |
| 126 | +- [Component Registration](./guides/render-functions-and-railscontext.md) |
| 127 | +- [Props and RailsContext](./guides/render-functions-and-railscontext.md) |
| 128 | + |
| 129 | +#### State Management |
| 130 | + |
| 131 | +- [Redux Integration](./javascript/react-and-redux.md) |
| 132 | +- [Context API](./guides/render-functions-and-railscontext.md) |
| 133 | + |
| 134 | +#### Routing |
| 135 | + |
| 136 | +- [React Router Setup](./javascript/react-router.md) |
| 137 | +- [Server-Side Routing](./guides/react-server-rendering.md) |
| 138 | + |
| 139 | +#### Advanced Topics |
| 140 | + |
| 141 | +- [Webpack Configuration](./guides/webpack-configuration.md) |
| 142 | +- [Code Splitting](./javascript/code-splitting.md) |
| 143 | +- [Performance Optimization](./guides/webpack-configuration.md) |
| 144 | + |
| 145 | +#### Development |
| 146 | + |
| 147 | +- [Hot Module Replacement](./guides/hmr-and-hot-reloading-with-the-webpack-dev-server.md) |
| 148 | +- [Testing Components](./guides/rspec-configuration.md) |
| 149 | +- [Debugging](./javascript/troubleshooting-build-errors.md) |
| 150 | + |
| 151 | +#### Deployment |
| 152 | + |
| 153 | +- [Production Setup](./guides/deployment.md) |
| 154 | +- [Heroku Deployment](./guides/deployment.md) |
| 155 | +- [Docker Setup](./guides/deployment.md) |
| 156 | + |
| 157 | +### Migration Guides |
| 158 | + |
| 159 | +- [Upgrading React on Rails](./guides/upgrading-react-on-rails.md) |
| 160 | +- [From react-rails gem](./additional-details/migrating-from-react-rails.md) |
| 161 | + |
| 162 | +### Troubleshooting |
| 163 | + |
| 164 | +- [Common Issues](./troubleshooting/README.md) |
| 165 | +- [Error Messages](./javascript/troubleshooting-build-errors.md) |
| 166 | +- [Performance Issues](./javascript/troubleshooting-build-errors.md) |
| 167 | + |
| 168 | +### Contributing |
| 169 | + |
| 170 | +- [Contributing Guide](../CONTRIBUTING.md) |
| 171 | +- [Development Setup](../CONTRIBUTING.md) |
| 172 | +- [Pull Request Guidelines](../CONTRIBUTING.md) |
0 commit comments