Skip to content

Variable for React.DOM in jsx compile result #1975

@klimashkin

Description

@klimashkin

Hello!
JSX compile markup into React.DOM.xxx() functions. But when markup is complicated the result become too wordy, because of repeating React.DOM
It would be greate to refer to React.DOM in variable, for example, within compiled render method

  • It would be more performance because of less object property lookup
  • It would be better minified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions