Skip to content

jsx compiler compiles to React.Dom not React.DOM #726

@martinffx

Description

@martinffx

I'm pre-compiling my jsx assets using the react-tools, this produces code like React.Dom.div(null). The problem is that the version of react I'm using doesn't have a variable Dom attached to it, it has the variable DOM.

jsx version 0.8.9 and react version 0.8.0

A temporary fix I'm using is:

React.Dom = React.DOM;

after react has loaded but before any of my code runs. But this needs to be fixed upstream.

Unless I'm missing something? A version mismatch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions