Skip to content

Commit

Permalink
fix: warning for repeatedly calling createRoot in react18 of masking …
Browse files Browse the repository at this point in the history
…related components
  • Loading branch information
TinaPeach committed Feb 22, 2024
1 parent ae4f39b commit 9872ecb
Show file tree
Hide file tree
Showing 6 changed files with 454 additions and 18 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"airbnb",
"plugin:react/recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended"
"plugin:react-hooks/recommended",
"plugin:arco-mobile/recommended"
],
"parserOptions": {
"ecmaFeatures": {
Expand All @@ -21,7 +22,7 @@
},
"sourceType": "module"
},
"plugins": ["import", "react", "babel", "@typescript-eslint/eslint-plugin"],
"plugins": ["import", "react", "babel", "@typescript-eslint/eslint-plugin", "arco-mobile"],
"globals": {
"ActiveXObject": false,
"describe": false,
Expand Down
Loading

0 comments on commit 9872ecb

Please sign in to comment.