README.md in quilt_rails-3.5.5 vs README.md in quilt_rails-3.5.6
- old
+ new
@@ -18,10 +18,12 @@
- [Dealing with isomorphic state](#dealing-with-isomorphic-state)
- [Customizing the Node server](#customizing-the-node-server)
- [Fixing rejected CSRF tokens for new user sessions](#fixing-rejected-csrf-tokens-for-new-user-sessions)
- [Performance tracking a React app](#performance-tracking-a-react-app)
- [API](#api)
+- [Shopify embedded app](#shopify-embedded-app)
+- [FAQ](#faq)
## Server-side-rendering
🗒 This guide is focused on internal Shopify developers with access [@shopify/sewing-kit](https://github.com/Shopify/sewing-kit). A similar setup can be achieved using the [manual installation](./docs/manual-installation.md) , and following the [react-server webpack plugin](../../packages/react-server/README.md#webpack-plugin) guide. Apps not running on Shopify infrastructure should [disable server-side GraphQL queries](./docs/FAQ.md) to avoid scalability issue.
@@ -312,9 +314,23 @@
Follow details guide [here](./docs/performance-tracking.md).
## API
Find all features this gem offer in this [API doc](./docs/api.md).
+
+## Shopify embedded app
+
+[See here for Dev Docs for Apps](https://shopify.dev/apps). Make sure to add the line: `include ShopifyApp::EmbeddedApp` if you are using Quilt for server-side rendering of React for an embedded application:
+
+```ruby
+class ReactController < ApplicationController
+ include ShopifyApp::EmbeddedApp
+ include Quilt::ReactRenderable
+ def index
+ render_react
+ end
+end
+```
## FAQ
Find your [here](./docs/FAQ.md).