Remix.run Logo
rossant 18 hours ago

In simple applications, can we replace JS frameworks by a document with guidelines and best practices?

What if I want to avoid frameworks and stick to vanilla JS, following instead good strategy and coding conventions for managing state, reacting to events, etc, all in pure JavaScript while avoiding spaghetti code. Does a document like this exist?

lbreakjai 18 hours ago | parent | next [-]

It exists. It's called a framework.

ikrenji 18 hours ago | parent | prev [-]

so you want to avoid using a framework in order to basically code something in pure JS that does what the framework does? whats the point of that?

rossant 7 hours ago | parent | next [-]

The point is to avoid dependency hell and take full responsibility for the entire codebase instead of delegating it to third parties.

spartanatreyu 15 hours ago | parent | prev [-]

I think the point is to not have to untangle another developer's middleware in a router from a bunch of state when all you needed was an anchor tag.