Top 3 fast-refresh Open-Source Projects
-
react-refresh-webpack-plugin
A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
-
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
As Vite works on a plugin based approach, we will have to install one of the two official React plugins. You can read more about them and choose the one that suits your needs from here @vitejs/plugin-react and @vitejs/plugin-react-swc
module.exports = { // plugin documentation: // https://www.npmjs.com/package/eslint-plugin-react // https://github.com/ArnaudBarre/eslint-plugin-react-refresh // https://www.npmjs.com/package/eslint-plugin-jsx-a11y plugins: ["react", "react-refresh", "jsx-a11y"], extends: [ "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:react/jsx-runtime", "plugin:@tanstack/eslint-plugin-query/recommended", ], settings: { react: { // Specify the current react version (other than 'detect') // otherwise, it will call the entire react library, leading to slower performance version: "detect", }, }, overrides: [ { files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'], extends: ['plugin:testing-library/react'], rules: { 'react-refresh/only-export-components': 'off', }, }, ], rules: { "react-refresh/only-export-components": ["warn", { allowConstantExport: true }], "jsx-a11y/alt-text": [ "warn", { elements: ["img"], }, ], "jsx-a11y/aria-props": "warn", "jsx-a11y/aria-proptypes": "warn", "jsx-a11y/aria-unsupported-elements": "warn", "jsx-a11y/role-has-required-aria-props": "warn", "jsx-a11y/role-supports-aria-props": "warn", "react/no-unknown-property": "off", "react/prop-types": "off", }, };
fast-refresh related posts
Index
What are some of the best open-source fast-refresh projects? This list will help you:
Project | Stars | |
---|---|---|
1 | react-refresh-webpack-plugin | 3,107 |
2 | vite-plugin-react-swc | 754 |
3 | eslint-plugin-react-refresh | 164 |