Skip to content

Commit 7d0f39c

Browse files
committed
feat: update snippets for React 17-19, Router v6, and Redux Toolkit
1 parent 50e789b commit 7d0f39c

8 files changed

Lines changed: 942 additions & 302 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
"properties": {
6767
"reactSnippets.settings.importReactOnTop": {
6868
"type": "boolean",
69-
"markdownDescription": "Controls if snippets should add `import React from 'react';` at the top of components.\nUse if you have React +17 and use jsx transform.",
70-
"default": true
69+
"markdownDescription": "Controls if snippets should add `import React from 'react';` at the top of components.\nEnable for legacy projects (pre-React 17).",
70+
"default": false
7171
},
7272
"reactSnippets.settings.typescript": {
7373
"type": "boolean",

0 commit comments

Comments
 (0)