I've always felt that web event handling is too complex, and if you're using react, you're probably going to write this code. I have written a lot of template code like this, it is very complicated...
Promise makes event handling simple and elegant, and using Promise to process code makes logic clearer...
[
Collection
]
[
|
...
]