Fork me on GitHub
Aris Spathis08:04:04

Hello, I would like to ask a question: is it ok for event handlers to mutate r/atoms?


I think general practice is to return an effect

Aris Spathis15:04:46

yeah, I thought about it and it seems that r/atoms are better suited for holding local component state, which is not meant to be tampered with inside handlers... thanks for your answer anyway!