-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Description
Hi!
I just started learn ReactJS and from the very start I have problem!
As I can see you say that React working with coffee.
my file hello.js.jsx.coffee
HelloWorld = React.createClass
render: ->
`<div>
<h1>Hello World!</h1>
</div>`
and in my view:
= react_component('HelloWorld', {}, :span)
But I get error:
ReferenceError: HelloWorld is not defined
my source code
Metadata
Metadata
Assignees
Labels
No labels