Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think most of the people commenting here realize that the entire site loads just fine with Javascript disabled. Essentially this is HTML getting generated on the server.

The fact that it is in Deno rather than PHP, Ruby or Python is the point of the article.



Thank you. Being unfamiliar with Deno, I was trying to figure out what was loading the libraries when there was only one request/response over the wire. I of course was making the assumption that the single JS file was being run in the browser, not on the server.


I was doing the same!


3 of us :D


> Essentially this is HTML getting generated on the server.

Not a web developer. How is this different from CGI or a regular web server? This an honest question - I don't understand the significance.


Yes, everything old is new again. I just browsed the docs, but it seems it's not so different, other than it's automatically run on servers all over the world. Temporarily, this is for free. Also, it automatically updates after pushing a commit to GitHub, which seems nice.


> Also, it automatically updates after pushing a commit to GitHub, which seems nice.

also not new, but you know that already :)


it is not different.

CGI is replaced by JS

Apache/nginx is replaced by CDN

web server is replaced by edge nodes (aka, glorified runtimes automagically spread across many endpoints)


It's written in js/React so you can share frontend and backend code and write the entire site in one language or even using the exact same components for server side and client side rendering. This is a boon for development. Ignore the nay-sayers.


The demo doesn't use React, only JSX


The import { h } made me think it was preact, but I guess it's not even that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: