max-mapper / max-mapper/requirebin

Working with React?

Open
#103 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
389
Forks
73
PR merge metrics
No merged PRs in 30d

Description

says i have an error on the return line

React = require('react');

var Main = React.createClass ({
  render: function () {
        return <div>hello</div>
  }
});


React.render(<Main />);

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the JSX snippet from the issue and identify why the error is reported on the return line. The issue names no source file or test, so inspect the project's JavaScript/React handling and determine whether this example is expected to run. Done means the cause is documented or the example works without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.