4 ms·
I went with this syntax as well for a project [1], being just a simple wrapper on top off createElement, with functions as children/attributes being used as one
by bwindels 6y ago
I went with this syntax as well for a project [1], being just a simple wrapper on top off createElement, with functions as children/attributes being used as one-way bindings.
1: https://github.com/bwindels/brawl-chat/blob/master/src/ui/web/session/room/RoomView.js#L13 https://github.com/bwindels/brawl-chat/blob/master/src/ui/we...
Works very well, and don't need to transpile.