News for hackers. Stuff that matters.
Re:A whole website in a single JavaScript file by DangitBobby on Wednesday April 06, 2022 @11:20PM (#30940280)
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.
Re:A whole website in a single JavaScript file by brundolf on Wednesday April 06, 2022 @11:55PM (#30940450)
The demo doesn't use React, only JSX
Re:A whole website in a single JavaScript file by DangitBobby on Thursday April 07, 2022 @10:17AM (#30944742)
The import { h } made me think it was preact, but I guess it's not even that.