Hacker Newsnew | past | comments | ask | show | jobs | submit | azangru's commentslogin

Where does the article say anything about js for ssr?

> something that's pretty much standard and common practice

Is it? How many people publish to their sites small texts that they then syndicate to Twitter/Bluesky/whatever? How many people publish videos to their sites and then syndicate to Youtube?


The idea is not that you necessarily write a Twitter-length post on your website - you can write a full blog post, but then post links back to that post on social media.

If they blocked RT, they can block 4chan if they so choose. Why would they expect a company that does not target the British audience to have any concern for British laws?

Because the British government thinks its 1813 still.

7.24 seconds until html finished loading (could be due to a HN hug, but still)

4.0 MB transferred


The first random page it returned to me was this — https://gaultier.github.io/blog/how_to_make_your_own_static_... — which was about building one's own static site generator, which I really liked. I did not realise when I closed that page how hard it would be to find it again, because, of course every new visit to Kagi returns a different page :-)

yeah, same happened to me, the first site I was sent to was a list of people sending in random "sunday thoughts" (or whatever it was called) on (actual physical) postcards which then got scanned and posted. There were some good things in there. Now I can't find that site again because I didn't realize it was randomized...

do you not have a browser history?

"Do you wanna develop an app?"

— Glootie


> Are people using react for non-SPA’s?

Imagine a page that loads html during the first load, and then performs client-side routing during subsequent navigations. Is it an SPA? Is it not an SPA?


Probably wasn't supposed to either :-)


Nice gatekeeping. :-)


> TypeScript also was specifically designed so engine could strip types and execute result code. These build tools should not exist in the first place.

Was it? Have you forgotten namespaces and enums?


More recently, it's been designed so this is the case. Namespaces, enums, and the property constructor shortcut thing were all added relatively early on, before the philosophy of "just JS + types" had been fully defined.

These days, TypeScript will only add new features if they are either JavaScript features that have reached consensus (stage 3 iirc), or exist at the type system only.

There have been attempts to add type hints directly to JavaScript, so that you really could run something like TypeScript in the browser directly (with the types being automatically stripped out), but this causes a lot of additional parsing complexity and so nothing's really come of it yet. There's also the question of how useful it would even be in the end, given you can get much the same effect by using TypeScript's JSDoc-based annotations instead of `.ts` files, if you really need to be able to run your source code directly.


Could you give examples of the modern frameworks that you have in mind?


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

Search: