4.7.3 • Published 6 months ago
@versini/ui-hooks v4.7.3
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list
4.7.3
6 months ago
4.7.2
6 months ago
4.7.1
6 months ago
4.7.0
6 months ago
4.6.1
7 months ago
4.6.0
7 months ago
4.5.0
7 months ago
4.4.0
7 months ago
4.3.0
8 months ago
4.2.2
11 months ago
4.2.1
11 months ago
4.2.0
11 months ago
4.1.3
12 months ago
4.1.2
12 months ago
4.1.1
12 months ago
4.1.0
1 year ago
3.0.1
1 year ago
4.0.1
1 year ago
4.0.0
1 year ago
3.0.0
1 year ago
2.2.1
1 year ago
2.2.0
2 years ago
2.1.1
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.0.0
2 years ago