Skip to content

Commit

Permalink
Remove react-hot-loader
Browse files Browse the repository at this point in the history
Its functionality is replaced (and improved) by Fast Refresh support
in the Vite React plugins so it is no longer needed. In fact, having
both in place causes some unwanted intermittent issues in local dev
environments.
  • Loading branch information
AlanGreene authored and tekton-robot committed May 27, 2024
1 parent a65d46e commit ec9284a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 102 deletions.
103 changes: 4 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.13.1",
"react-intl": "^6.6.6",
"react-router-dom": "^6.23.1",
"reconnecting-websocket": "^4.4.0"
Expand Down
3 changes: 1 addition & 2 deletions src/containers/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ limitations under the License.

import { useMemo, useState } from 'react';
import { useQuery, useQueryClient } from '@tanstack/react-query';
import { hot } from 'react-hot-loader/root';
import {
Link,
Navigate,
Expand Down Expand Up @@ -573,4 +572,4 @@ export function App({ lang }) {
);
}

export default hot(App);
export default App;

0 comments on commit ec9284a

Please sign in to comment.