TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

(ab?)using Node module hooks to speed up development

38 pointsby sbjs15 days ago

7 comments

skinkestek13 days ago
Am I missing something, or is the content here too minimal?<p>For this to be genuinely useful, I’d expect at least a few code examples—and ideally a link to a working repo to show it in action.
评论 #43914387 未加载
whizzter13 days ago
With Typescript you could(prob still can) specify how JSX tags are translated, so you can get the regular data structure without React dependency.
评论 #43914713 未加载
devrandoom13 days ago
It&#x27;s hard to get the idea down from one&#x27;s head into a document, as this text shows.
评论 #43914551 未加载
noob_0713 days ago
I do not follow, can anyone help with more code&#x2F;config examples of how to leverage this?
评论 #43913482 未加载
ricardobeat13 days ago
This is in essence being used to emulate Bun.js behaviour with node. Have you tried bun?
feisuzhu13 days ago
(ab)?using ?
评论 #43912895 未加载
vermilingua13 days ago
This is a reinvention of HMR, no?
评论 #43914990 未加载