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

  • Am I missing something, or is the content here too minimal?

    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.

  • With Typescript you could(prob still can) specify how JSX tags are translated, so you can get the regular data structure without React dependency.

  • It's hard to get the idea down from one's head into a document, as this text shows.

  • I do not follow, can anyone help with more code/config examples of how to leverage this?

  • This is in essence being used to emulate Bun.js behaviour with node. Have you tried bun?

  • (ab)?using ?

  • This is a reinvention of HMR, no?