Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for <@props.propName /> #22

Closed
mtscout6 opened this issue Aug 27, 2014 · 2 comments
Closed

Add support for <@props.propName /> #22

mtscout6 opened this issue Aug 27, 2014 · 2 comments

Comments

@mtscout6
Copy link

Since JSX now supports namespaces it would be nice if the @ symbol participated as well. Right now this will not work:

    ...
    render: ->
      <@props.activeRouteHandler />
    ...

Instead I have to do this which works without a problem:

    ...
    render: ->
      <this.props.activeRouteHandler />
    ...

This would be ideal for using with react-router

@jsdf
Copy link
Owner

jsdf commented Aug 31, 2014

fixed in 0.5.1 7c20ef7

@mtscout6
Copy link
Author

mtscout6 commented Sep 2, 2014

Dude you rock, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants