2 ms·
>> Frontend code has two as well: the input methods (mouse, keyboard, screen) and the API surface. If you compare these two surfaces, the sequence of mouse and
by EVa5I7bHFq9mnYK 4y ago
>> Frontend code has two as well: the input methods (mouse, keyboard, screen) and the API surface.
If you compare these two surfaces, the sequence of mouse and keyboard events is very much unpredictable and the number of possible states you should think of is much larger. It's not by chance you spend more time with hairier things, it's because they are harder. In fact, it's a definition of "harder".
- dcow 4y agoYeah but your UI framework turns all that stuff into events so you’re not dealing with raw mouse data. I personally think the complexity is similar and have done FE for 10 years and more backend/security/networking side of things the last 5.