All Questions
254 questions
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 ...
-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 ...
0
votes
1
answer
64
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 ...
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
67
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
0
answers
110
views
how to catch Minified React error #418 details in production
I have production website developed with Remix having some numbers of Minified React error #418 but i can't get it reproduced in local. It is the SSR/CSR mismatch issue.
If this issue happens in local,...
1
vote
3
answers
851
views
Deploy react-router-v7 to Vercel
I upgraded my remix app to react-router-v7 but cannot get it to deploy on Vercel (used to work fine).
I have done all the things all the internet says but something is going wrong with the type ...
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 ...
0
votes
1
answer
118
views
Remix i18next translations not working in production build
I'm building a Remix application using i18next and remix-i18next for translations. While translations work correctly in development, including metadata, they fail in production showing raw keys (e.g., ...
-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 ...
0
votes
0
answers
55
views
Persisting useActionData After URL Updates in Remix
I am using actions to get some form data in my component. However, this data from useActionData is not getting persisted in the component when I set a new searchParams using the setSearchParams ...
0
votes
0
answers
20
views
How do I prevent an infinite loading loop in the AuthProvider using Firebase? [duplicate]
I am working on a project with Remix, Firebase and Chakra, and I am trying to fix an issue where my project is briefly flashing unstyled HTML (FOUC) when navigating pages.
I think the issue arises ...
0
votes
0
answers
340
views
Global dark mode theme switcher for AG Grid
I am using ag-grid in a Remix app that uses Tailwind CSS. The app has a global dark mode switcher.
Ag-grid has dark and light css classes available. (There is also an 'auto' class but that seems to be ...
1
vote
1
answer
593
views
Internal server error: Failed to load url in virtual:remix/server-build. Does the file exist?
I've recently renamed a route in my remix app, and for configuration/path resolution reasons I can't fully understand, it can't seem to find the route.
Here is the newly added route: app/routes/events....
0
votes
0
answers
82
views
Unknown file extension ".css" for /node_modules/@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css
I am trying to integrate CKEditor 5 into my Remix project with custom build, but I am encountering an error related to a file that I have not included in my project folder. I am using Tailwind CSS and ...