Skip to main content

All Questions

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 ...
sinanspd's user avatar
  • 2,734
1 vote
0 answers
23 views

How to prevent endless loop when loading data with React and Remix [duplicate]

I have a web page that can have any number of chart components on it. Each of these components has its own selection boxes that allow the user to select two currencies. After a selection changes, the ...
Zephyrus's user avatar
  • 181
2 votes
1 answer
1k views

Update Remix.run component after change of some different variable

When I've been developing in pure React.js, I was used to store some data into Redux and set some component to listen to changes in Redux (with useSelector (source). But now I am doing facing the same ...
Branislav Blazek's user avatar
0 votes
1 answer
3k views

How to redirect to a custom 404 page in remix.run?

I am trying to redirect the URL to a custom 404 page in remix.run but not able to do so. I have a url structure something like this - app/ ├── routes/ │ ├── $dynamicfolder/ │ │ ├── index.tsx ...
sajalsuraj's user avatar
-1 votes
1 answer
208 views

React component displaying but returning NaN from custom hook

I am building an app with React/Remix, fly.io for deployment. I have a countdown component and custom hook built in React. I have a custom useCountdown hook with the following code: import { useEffect,...
T. Duke's user avatar
  • 1,016
-1 votes
1 answer
2k views

React custom hook not rendering

I am building an app with React using Remix, fly.io for deployment. I have a custom React hook useCountdown that has the following code: import { useEffect, useState } from 'react'; const ...
T. Duke's user avatar
  • 1,016
11 votes
2 answers
6k views

Remix loader returning "undefined"

I am giving remix a good first-time try and I think I love its approach to data handling. However, I am facing an issue with data returning "undefined" from the loader wrapper. import { ...
Badt0men's user avatar
  • 273