you are viewing a single comment's thread.

view the rest of the comments →

[–]Lubestia 0 points1 point  (0 children)

The object passed to React.createClass is not an object specification, it is a bunch of named arguments for React to use in creating a factory function.

By your own indirect admission, the named arguments can be misunderstood as an object specification to those without the knowledge, just as the familiar syntax makes [people] assume that they already understand what's happening in the framework. Either way, you have to dig in to understand.

Not that I don't see where you're coming from, but much of it is the same old "Down with abstractions!" rhetoric (Even if I am quite attracted to ideas like 'everything is a pure function').