Better HN
topnewbestaskshowjobs
Log inSign up

neiltwist

1 karma · joined Apr 7, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

React doesn't, but JS perhaps does.

A lot of my code has to be mounted in separate root components and it's not allowed to be a SPA.

In this instance, it was convenient to use event listeners, though it's very similar to calling a global.