fix: address internal type errors #415
Annotations
2 errors and 8 warnings
build
Type 'import("/home/runner/work/remix-validated-form/remix-validated-form/node_modules/@remix-run/server-runtime/dist/entry").EntryContext' is not assignable to type 'import("/home/runner/work/remix-validated-form/remix-validated-form/node_modules/@remix-run/react/dist/entry").EntryContext'.
|
build
Process completed with exit code 2.
|
build:
apps/test-app/app/routes/field-array.state.tsx#L2
'nanoid' is defined but never used
|
build:
apps/test-app/app/routes/field-array.state.tsx#L6
'InputWithTouched' is defined but never used
|
build:
apps/test-app/app/routes/rerenders.tsx#L28
Assignments to the 'renderUpdated' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
build:
apps/test-app/app/routes/validation-textarea.tsx#L3
'z' is defined but never used
|
build:
packages/remix-validated-form/src/internal/state/fieldArray.tsx#L2
'useState' is defined but never used
|
build:
packages/set-get/src/stringToPathArray.ts#L7
Unnecessary escape character: \.
|
build:
packages/set-get/src/stringToPathArray.ts#L7
Unnecessary escape character: \[
|
build:
packages/set-get/src/stringToPathArray.ts#L9
'_' is assigned a value but never used
|