Build: Move "@types/react-dom"
to devDependencies
#22
Labels
↗️ medium priority
This issue is crucial
good first issue
Good for newcomers
✨ enhancement
New feature or request
Currently,
"@types/react-dom"
is listed as a dependency inpackage.json
. To align with good development practices, we should move"@types/react-dom"
todevDependencies
.Steps:
package.json
file."dependencies"
section."@types/react-dom"
and cut it."devDependencies"
section."@types/react-dom"
entry under"devDependencies"
.package.json
file.Additional Steps:
npm install
to update thepackage-lock.json
file with the changes made topackage.json
.Additional Note:
"@types/react-dom"
todevDependencies
ensures that it is only installed in the development environment, reducing the package size in production builds.The text was updated successfully, but these errors were encountered: