-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Remix v2 #215
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤓
Co-authored-by: Mehdi Achour <machour@gmail.com>
Co-authored-by: Mehdi Achour <machour@gmail.com>
This follows what your original thinking was and it simplifies things because TypeScript is able to pick up the types for these files without any issues. I personally prefer this because it seems to do a better job of grouping similar utilities within a "subpackage" concept. But whatever you want to do I'm fine with.
This fixes this problem: Do this: 1. Open app in tab 1 2. Open app in tab 2 3. Submit form in tab 1 <-- CSRF error
@sergiodxa let me know if there is anything I can do to help here. I have a project I am testing out with the v2 pre and this is a blocker. |
@wking-io this is mostly done, in just waiting for v2 stable to be released |
@sergiodxa Since stable is released now, anything else why this is waiting? Anything I could help with? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm.. why dynamic-links are gone? They seem to work perfectly with remix v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not needed anymore, MetaFunction can now return links tags based on data.
Now that Remix is preparing to release v2, this PR includes changes to internals and will mark a new major of Remix Utils that breaks compatibility with all Remix v1 versions.