Better HN
topnewbestaskshowjobs
Log inSign up

Omerd6

7 karma · joined Jan 20, 2024 (2y ago) · 9 submissions

Submissions

1.

How to Build Forms Like a Pro(astro-blog-cyan-alpha.vercel.app ↗)

1 points · by Omerd6 · 1y ago · discuss

2.

A brief history of ES modules(omerdavidson.dev ↗)

1 points · by Omerd6 · 1y ago · discuss

comment 2y ago · link · parent

I just checked and you are correct, in node it only installs the compiled version.

Apparently you can only view the uncompiled source code in deno since it natively supports typescript.

My bad

comment 2y ago · link · parent

The legendary Ryan dahl is actually working on solving the exact problem you described by creating a new package registry called JSR.

Essentially what it does is allow you to upload your typescript code without a build step so when other devs install it they can see the source code of the module in it's original typescript instead of transpiled JavaScript.

comment 2y ago · link · parent

does merging all of your api calls to a single one means that the slowest request is a bottle neck?

when splitting your request the user can view his profile picture before the main content finished loading. this cam hurt user experience