Remix.run Logo
lmm 5 days ago

They're trying to do something that's fundamentally very hard. Unifying server-side and client-side code was always going to cause confusion when the difference becomes relevant.

Personally I'd rather go in the direction of having code that's explicitly server-side, explicitly client-side, or explicitly shared utilities. But you'd need more of a type-safe mentality to take that approach, and you'd probably scare off the majority who prefer runtime errors over build-time errors.

palmfacehn 5 days ago | parent | next [-]

Your observations apply generally. Debugging "magic" frameworks is often more complex than starting with simple basics and a coherent design. As a bonus there are less dependencies, less build issues and lighter pages or binaries.

jama211 5 days ago | parent [-]

Well said.

lysecret 5 days ago | parent | prev [-]

Fully agree really enjoying TRPc for this.