• CosmicTurtle0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 hours ago

    I’m a JavaScript developer. But it is fully possible to create a site with no frontend JavaScript

    Like many things, you should use JavaScript if you need it. If you don’t need remote data sources or live refreshes, pure html and css work perfectly fine and, I would go so far as to say, may even be necessary for resistance web pages.

    This is especially true if you’re using tor. JavaScript can leak your IP address and sites will work more reliability if you have static content that’s refreshed on the back end than using a bloated next.js app taking up RAM.