Hacker News new | ask | show | jobs
by masklinn 3485 days ago
Reading the list of react differences, the biggest con is the lack of synthetic events, they plan on adding one but IME[0] that is pretty inconvenient as that means you need to handroll event delegation and dispatching, which means you need DOM access (via refs or componentDidMount) or will have to do all event dispatching from the root; and their devtools debugger is "still in development". They also require fairly modern ES features (maps and weakmaps).

OTOH it provides lifecycle events for functional (stateless) components which is nice.

[0] from having dealt with that when using snabbdom[1] without the event listener module

[1] which is a "raw" vdom library not a high-level components-oriented system

1 comments

So basically, as the platform matures beyond a fun experiment, it'll grow in size. Got it. ;)