do you mean like "window.location" and intercept all `location` global variable access?
-
-
-
also, the power of "with (Proxy)" compels you.
- 4 more replies
New conversation -
-
-
we have been playing with that for the realm's referral implementation: https://github.com/tc39/proposal-realms/tree/master/shim …, we can chat about this.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
i solved this issue by isolating every "global" states like window with knifecycle. Sort of recreating Angular's
$window. -
it allows decoupling pure functions world with the globals accessing functions one. Bonus: nice graphs ;) https://github.com/nfroidure/jsarch/blob/master/ARCHITECTURE.md#jsarch-service …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 