@nolan Do you ever end up having to debug like, weird compiler errors where it doesn't catch that you are mutating state?
Top-level
@nolan Do you ever end up having to debug like, weird compiler errors where it doesn't catch that you are mutating state? 2 comments
@nolan I mean it can't be any *worse* than debugging when things go extremely wrong in React... |
@darius Not really? Also I find it pretty easy to debug the compiled output as it's fairly vanilla-y. It can get weird to wrap your mind around sometimes, though, especially for async code: https://github.com/nolanlawson/emoji-picker-element/blob/b901c91af52066800ab7208ddcff7e7dda6f4fa9/src/picker/components/Picker/Picker.js#L324