@_developit cursed... (actually looks pretty nice)
@_developit Im new to react and was upset to see that classes were not the norm. I need to dig further into why that is. I MUCH prefer to work with classes.
@_developit Cleanest class components I've seen in a while. If this is how people start using classes, I will have no objections
@_developit The universe is healing.
@_developit Maybe I've been ruined, but I still prefer something like:
@_developit @RyanCarniato promised me components were dead. Periodt.
@_developit Oh shit. Does it make me look bad when I'd say that this looks amazing?!
@_developit Oh no, now folks gonna use (and transpile) private fields. Poor bundle...
@_developit Ok, this actually looks very nice and is a valid argument to bring back class components in my book. I like the hook way of things, but dislike how quickly it becomes a big mess. This has both the advantages of classes and the advantages of hooks, plus the perf boost 👀👀
@_developit It would be cool if signal took a 2nd argument of an object of state change pure functions, so you could just call checked.toggle(). Then you'd have centralized state change logic and less imperative code.
@_developit Stroustrup: "I added classes to c so that engineers could define and redefine types" Random dev: "WoW i CaN Using CleSs For CheKsbOxes"
@_developit I don’t like having to use “this.” so much