3 ms·
Here's the first page I found that explains what T3 code actually looks like: http://t3js.org/docs/getting-started/module http://t3js.org/docs/getting-started/
by bsimpson 12y ago
Here's the first page I found that explains what T3 code actually looks like:
http://t3js.org/docs/getting-started/module http://t3js.org/docs/getting-started/module
I'm surprised to see such tight coupling to the DOM. When they said you could plug in something like React, I figured T3 was mostly scaffolding for dependency injection, cross-component messaging, and global config.
The event handling in particular looks gross. You register for all the events of a certain type across your whole component and then manually filter them in the listener.
- nevir 12y agoFeels like they could clean up a fair bit by making those modules as custom elements