News for hackers. Stuff that matters.
Re:Solid.js feels like what I always wanted React to be by jillesvangurp on Tuesday March 01, 2022 @07:02AM (#30513101)
Sure, but I wasn't going to fit a whole lot of boiler plate in a comment on HN to do that. Using Globalscope in a demo is perfectly valid; a lot of co-routine presentations do that as well. Normally, I'd use some named scope and life cycles associated with e.g. koin modules or a web worker. This is just something that I quickly knocked out that actually works. Also, this is not Android. There are not a whole lot of life cycle events beyond "page loaded".

There are no comments on this comment yet.