Skip to content
Discussion options

You must be logged in to vote

In the end, a Remix app is still a React app, so you can still use your existing libraries.

Just note that since Remix may potentially render your component on the server as well as the client, then client-only code should be called inside a useEffect, since they do not run on the server.

Because you're getting data outside the Remix loader/actions, it will not participate in the data revalidation after a mutation. That's probably not a concern for you as you are getting "live" data anyway.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AhmadEl-Banna
Comment options

Answer selected by vedantroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants