You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Vite will skip hot reload and reload the entire app when a file is concerned with a circular dependency (see here). Identifying circular dependencies is not well taken care of by ESLint and/or Typescript.
Some tools such as madge can help developer identify those circular dependencies and can show a report in terminal when running via CLI, for example with the following command : npx madge --circular src/index.tsx
Describe the solution you'd like
Having madge as a new provider would make identifying those potential cases easier and help developers maintain a healthier codebase as well as keeping the full benefits of using vite
Is your feature request related to a problem? Please describe.
Vite will skip hot reload and reload the entire app when a file is concerned with a circular dependency (see here). Identifying circular dependencies is not well taken care of by ESLint and/or Typescript.
Some tools such as madge can help developer identify those circular dependencies and can show a report in terminal when running via CLI, for example with the following command :
npx madge --circular src/index.tsx
Describe the solution you'd like
Having madge as a new provider would make identifying those potential cases easier and help developers maintain a healthier codebase as well as keeping the full benefits of using vite
Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: