Skip to main content

All Questions

1 vote
1 answer
937 views

How to periodically fetch inside a loader with Remix.run?

There is an API with data that I need for my app, but I can only call it a few times a minute. This data is also shared between all users (think getting the current Bitcoin price, for example). So I ...
adrianmcli's user avatar
  • 2,006
5 votes
4 answers
5k views

How do I use in-memory cache in Remix.run dev mode?

I need to fetch data from an API that is pretty slow and seldom changes, so I thought I'd use an in-memory cache. I first tried a very simple approach by just saving it to a variable outside the scope ...
mflodin's user avatar
  • 1,123