File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,10 @@ Create the database for Prisma. Run the `setup` script in `package.json` using `
147
147
148
148
Embedded apps must maintain the user session, which can be tricky inside an iFrame. To avoid issues:
149
149
150
- 1 . Use ` Link ` from ` react-router ` or ` @shopify/polaris ` . Do not use ` <a> ` .
151
- 2 . Use ` redirect ` returned from ` authenticate.admin ` . Do not use ` redirect ` from ` react-router `
150
+ 1 . Use ` s-link ` from Polaris web components. Don't use ` Link ` from ` react-router ` and don't use ` <a> ` .
151
+ 2 . Use ` redirect ` returned from ` authenticate.admin ` . Don't use ` redirect ` from ` react-router `
152
152
3 . Use ` useSubmit ` from ` react-router ` .
153
153
154
- This only applies if your app is embedded, which it will be by default.
155
-
156
154
### Webhooks: shop-specific webhook subscriptions aren't updated
157
155
158
156
If you are registering webhooks in the ` afterAuth ` hook, using ` shopify.registerWebhooks ` , you may find that your subscriptions aren't being updated.
You can’t perform that action at this time.
0 commit comments