App reviews, troubleshooting, and recommendations
Hi there.
I'm trying to use the AppBridge Save Bar. When the user makes a change in the form, AppBridge shows the save bar. Then, when the user clicks the save button, a post request is sent to the loader function in the /app route.
Two problems:
1 - The post request is sent to the loader /app/_index route sometimes. I'm not sure what causes it, but this can be solved by adding the same code to the loader functions in both loaders. (This only happens in the prod server).
2—When the post request is made, AppBridge sometimes redirects to the app's login page. I'm not sure when this happens, but it happens about once out of every ten requests.
I'd appreciate it if someone could share their experience with these issues and have a solution. Thanks!
I solved this. There is apparently a note in the readme file to only use <Form/> apparently.
It reads:
Use useSubmit or <Form/> from @remix-run/react. Do not use a lowercase <form/>.
Once switched to the Remix <Form/>, the contextual save bar API works pretty nicely!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024