585 questions
4
votes
2
answers
61
views
Remix Error: You defined an action for route "routes/" but didn't return anything from your action function
I am using Remix for my project and I am currently getting this error:
Error: You defined an action for route "routes/demo" but didn't return
anything from your action function. Please ...
-1
votes
1
answer
27
views
How to toggle checkbox with disabled JavaScript in RemixJS
Tl, Dr; I want to toggle and submit <input type="checkbox" /> without <button type="submit">
In ReactJS with enabled JavaScript, I can toggle and submit form with ...
-1
votes
0
answers
44
views
Issue with Session Token Authentication During Shopify App Review (Remix + Shopify App Bridge)
We're experiencing a session token authentication issue during the Shopify app review process, and we're hoping someone might have encountered something similar.
📌 Context:
We built a custom Shopify ...
0
votes
1
answer
63
views
Any idea if its possible, and why, Remix.run makes numerous API calls on the route loader?
I had an issue using Google Maps Places API inside the loader function of my _index.tsx route on my app. The code for the loader function is below.
For relevance, I would point out that I tried to ...
-1
votes
0
answers
20
views
remix shopify hydrogen Loader function console not showing anywhere
In Loader function i'm not able to see console result anywhere even in vscode terminal where my remix shopify hydrogen project is running.
Here is my source code:
import { categories } from "~/...
0
votes
1
answer
28
views
Remix (React) Waiting for Submit to complete without useMemo
I have a table where the last column is a button that triggers an action which in turn queries the DB, returns a result and downloads the result as a csv. In order for the data to be processed and the ...
-1
votes
1
answer
66
views
How to pass props to Layout component in Remix 3?
I have a heading in Layout and I want to pass props to it. So I can start my <main> element.
Here is my Layout.tsx
<>
<h1>{title}</h1>
<main>
<Outlet /> {/* ...
0
votes
1
answer
44
views
In my remix Shopify app, the resource picker is throwing an error...how can I resolve this error?
I've tried importing the shopify resource picker from app bridge react and said it didnt exist so I am now trying to import it from app bridge actions library with only slightly more success. It is ...
-1
votes
0
answers
41
views
Change vite to deploy on a subdirectory with Remix
Reproduce:
npx create-remix@latest
Add to vite.config.ts:
base: '/2024/',
Run:
npm run build && npm run dev
Error:
Error: 404 Not Found
at fetchAndApplyManifestPatches (http://localhost:...
-1
votes
1
answer
38
views
How can I create a free plan using the shopify billing api for my shopify app?
I am trying to give certain stores the opportunity to use my app for free as a way to get feedback from trusted people. When create a plan and set the amount to 0 it throws an error when I try to send ...
0
votes
0
answers
25
views
What is the URL path for a dynamic route file named ($locale).jsx in Remix?
I'm building a country selector in my Remix application. When I switch regions from US to SG or vice versa, however, the cart doesn't seem to update the buyer Identity with the change in country (the ...
-3
votes
1
answer
148
views
Deploying Shopify Remix App with Vercel Issues
I've built my app in dev mode, all working well with shopify app dev, I then pushed to a new github repo and linked that up to a remix vercel project, duplicating .env in Vercel's env variables.
I ...
1
vote
1
answer
57
views
Remix start command vs dev command
I started a Remix tutorial from this link
Basically just ran
npx create-remix@latest
And followed the instructions.
Now in my package.json I see:
"scripts": {
"build": "...
0
votes
1
answer
77
views
Can't access /public/ files in shopify remix _index.tsx
I have two .txt files, one of them for example is a list of countries. I need to import the data from these files into a .tsx function that will write them to the merchants theme files as snippets to ...
1
vote
1
answer
125
views
Why would the Supabase client cause a MiniOxygen error with "dev" script but work with "preview" script?
In my up to date shopify hydrogen/remix app, I am trying to import the supabase-js package into my server.ts or specific route. When I initialize the createClient function, then run the "shopify ...