Skip to content
Discussion options

You must be logged in to vote

What remix version are you using?

I'm using 1.16.0 and seeing this behavior:

✅ inference of with json() & redirect()

✅ inference of with 2 non-empty json()

🐛 inference is broken if you return an empty object

Also, could you possibly be mixing imports and importing json or useLoaderData from react-router instead of @remix-run/xxx ?

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Marcdj-02
Comment options

@machour
Comment options

Answer selected by Marcdj-02
@machour
Comment options

@kiliman
Comment options

@Marcdj-02
Comment options

@iamkd
Comment options

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