Skip to main content

All Questions

Tagged with
4 votes
2 answers
62 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 ...
user30312022's user avatar
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 ...
Telmo Dias's user avatar
  • 4,206
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 ...
noahacla's user avatar
1 vote
1 answer
123 views

Why does getInitialNamespaces() Returns Null or Undefined Value and How to Fix It?

I am working on my remix vite project and currently set up i18n for localization. Initially I have found out that no button component in my project works (I have even tried console.log statements but ...
Ege Turanoğlu's user avatar
0 votes
0 answers
58 views

React Remix UseActionData() Not Triggered by incoming Webhook POST request

I have the action setup in a Remix React project as below to handle both Form Data & a JSON POST request from a webhook. Both are working as expected and output the data to the console when ...
StMartin's user avatar
-1 votes
1 answer
44 views

Passing component from loader?

I want to use MDX for my project, but as I am getting my data (in markdown) via API, I can't just import it, I have to parse it in my app. For this, I've made a function that'll take the raw markdown ...
Tomek Buszewski's user avatar
0 votes
0 answers
30 views

Klaviyo integration oauth revoke api

Issue with Revoking Integration via OAuth API We are attempting to revoke the Klaviyo integration for a user using the /oauth/revoke API. While the API call succeeds with a 200 OK response, the app is ...
Maaz Khan's user avatar
0 votes
1 answer
966 views

Issue when submitting form with Remix + shadcn/ui + react-hook-form

OBS: I decided to open a answered question here because I have seen so many posts in Reddit and Github about submitting a form with shadcnui/react-hook-form in a Remix app. I had an issue building a ...
valdinei's user avatar
0 votes
0 answers
40 views

React-cosmos with remix-js framework

Do any one knows how to make react cosmos render tailwind styles in remix js framework ? if yes give me steps please i am trying to render react components in remix js framework and and i have ...
Andrew Moheb's user avatar
0 votes
1 answer
51 views

Remix and MUI slider not triggering ActionFunction

I'm trying to use a MUI slider to update a database, using Remix ActionFunction. However, when the MUI slider moves, it is reloading the default function, not the ActionFunction. How do I get it to ...
Izzi's user avatar
  • 2,652
1 vote
0 answers
424 views

useNavigate() isn't working in my Remix Shopify app

I'm building a Shopify Remix app and am having trouble getting navigation to work when using the useNavigate() Remix hook. I have two Polaris components attempting to use the hook in the code below (...
Katy's user avatar
  • 21
0 votes
1 answer
533 views

Remix Submit Object

What's the right way of submitting object in remix using useSubmit()? Do i need to JSON.stringify() it first? Then JSON.parse() it in the action? My code below is working but not sure if its the best ...
Joseph's user avatar
  • 7,805
0 votes
2 answers
1k views

Remix React return json and redirect

In Remix, how do you return json first and then redirect after a success call on the API? export const action: ActionFunction = async ({ request, }: ActionFunctionArgs) => { const formData =...
Joseph's user avatar
  • 7,805
0 votes
1 answer
687 views

Generate and download PDF with remix

I am getting the HTML from a component and sending it to an endpoint that will generate the PDF. After that I want to download that generated PDF. This is the code I use to call the endpoint with and ...
MiRAY's user avatar
  • 195
-2 votes
1 answer
579 views

Remix : how to return 404 response when custom exception class is thrown?

The database access layer of my Remix application throws a custom NoRecordFound error when no records are found in database lookups. Example (in app/routes/item.$id.jsx): import { json } from "@...
Ipamo's user avatar
  • 39

15 30 50 per page
1
2 3 4 5
9