I’m a full-stack developer, looking for an internship at the moment. I feel like I’m really tired of React and Svelte. I am so done with how there’s a lot of moving parts and complexity introduced by various tools, like ESLint, Prettier, TypeScript, and Tailwind. Can I work on a back-end application of my choice, while also having the freedom to not use a JavaScript runtime, in a professional environment? Can I also do modern JS stuff like tree-shaking, minification and code-splitting? How viable would be it to do so? And would it be easier to maintain?

  • @jorin@lemmy.blahaj.zone
    link
    fedilink
    45 months ago

    The largest problems that arise from vanilla JS is that you’ll find yourself either creating solutions that don’t expand gracefully with scope creep, or creating generic enough solutions that you’re just reinventing react or other frameworks. Aside from the DOM parts, another important aspect of them is that they offer solutions to managing state in a consistent manner. I wouldn’t recommend a vanilla solution for anything you expect to work on for a long time or with a team.

    ESlint, prettier, and typescript are similarly helpful for longevity. The set up cost is far smaller than a codebase that has preventable mistakes slipping through.