codesandbox / codesandbox/codesandbox-client

Default React Template To JSX

Open
#6,799 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🌈 Feature

Hello, I noticed that .jsx files have better editing features for jsx syntax than .js files, like Emmet support. For this reason, I change all my .js files in a React project to .jsx, would be cool if that would be included in the React template (it's basically just App.js, index.js and package.json to reference index.jsx). It's not hard to do it manually, but maybe some people don't know that they get a better editing experience this way.

Or maybe alternatively the editing features could be activated for all .js files in a React project.

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

Locate the React template and inspect the files named in the issue: App.js, index.js, and package.json. Compare the requested options—renaming the template files and references to JSX, or enabling JSX editing for JS files—and determine which behavior the project supports. Done means the chosen behavior is applied consistently in the React template.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.