Replies: 2 comments
-
Having
The closest thing I've seen about this is @kentcdodds 's video showing "Fullstack components" where he shows how you can can colocate your I believe remix team is working on an API that would allow you to call your data fetching functions inside your component and not need to use @sergiodxa - do you know if RSC would facilitate this? |
Beta Was this translation helpful? Give feedback.
-
Nice suggestions here are my two cents on top on those
const jsonData = Object.fromEntries(formData.entries)
|
Beta Was this translation helpful? Give feedback.
-
suggestions
> This hook is simply a re-export of React Router's something.
Improve ecological quality, such as internationalization, authentication, theme switching, etc, compared with next-i18n, next-auth, next-theme...
Don't split remix into multiple npm packages, this will reduce branding and affect remix's total downloads display on npm. Only use the remix package. When imported into a component, it can be from "remix/node" or from "remix/react" etc.
summary
Why I stopped using nextjs and switched to remix:
After nextjs13 appdir comes out, it is divided into server component and client component. They have two different sets of rules and writing. The server component cannot listen to events, cannot use react hooks, etc. The client component cannot use asynchronous components, server-action, etc. The server component can wrap the client component, but the client component cannot wrap the server component. In actual projects, I have to constantly consider how to split or how to nest components. At the same time, the routing rules, writing rules, and APIs of nextjs13 are also increasing, which greatly increases the mental burden of developers. The current DX is very poor.
There should be many developers who agree with me, and they should also be looking for a framework to replace the poor development experience of nextjs at this stage, so I think this period is the most advantageous for remix. But remix also has some poor developer experience, such as the points I mentioned above, if it can be improved, it will bring a huge number of new users to remix.
Beta Was this translation helpful? Give feedback.
All reactions