Skip to content

chore(create-vite): remove wrapper div for react template#12867

Merged
patak-cat merged 1 commit intovitejs:mainfrom
bluepower:main
Apr 19, 2023
Merged

chore(create-vite): remove wrapper div for react template#12867
patak-cat merged 1 commit intovitejs:mainfrom
bluepower:main

Conversation

@bluepower
Copy link
Copy Markdown
Contributor

Description

Description:
Remove wrapper <div> for template-react and template-react-ts
Files:
packages/create-vite/template-react-ts/src/App.tsx
packages/create-vite/template-react/src/App.jsx
Change:
use <>...</> syntax to group elements without a wrapper node.

Additional context

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the PR Title Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-cat patak-cat merged commit 3679bd7 into vitejs:main Apr 19, 2023
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

Successfully merging this pull request may close these issues.

3 participants