Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

为什么只要使用任何组件都会出现下面这种报错呢?

Abierto
#352 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

Start by reproducing the error when using a component and inspect the APILoader entry shown in the stack trace. Use the reported useState failure in bundle.js as the immediate debugging path; this issue is complete when component usage no longer produces the reported runtime error and the cause is verified.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Uncaught runtime errors:
×
ERROR
Cannot read properties of null (reading 'useState')
TypeError: Cannot read properties of null (reading 'useState')
at useState (http://localhost:3000/static/js/bundle.js:32228:25)
at APILoader (http://localhost:3000/static/js/bundle.js:456:76)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:53535:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:56819:17)
at beginWork (http://localhost:3000/static/js/bundle.js:58115:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:43131:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:43175:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:43232:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:63096:11)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:62344:16)
ERROR
Cannot read properties of null (reading 'useState')
TypeError: Cannot read properties of null (reading 'useState')
at useState (http://localhost:3000/static/js/bundle.js:32228:25)
at APILoader (http://localhost:3000/static/js/bundle.js:456:76)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:53535:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:56819:17)
at beginWork (http://localhost:3000/static/js/bundle.js:58115:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:43131:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:43175:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:43232:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:63096:11)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:62344:16)
ERROR
Cannot read properties of null (reading 'useState')
TypeError: Cannot read properties of null (reading 'useState')
at useState (http://localhost:3000/static/js/bundle.js:32228:25)
at APILoader (http://localhost:3000/static/js/bundle.js:456:76)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:53535:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:56819:17)
at beginWork (http://localhost:3000/static/js/bundle.js:58115:20)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:63074:18)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:62344:16)
at workLoopSync (http://localhost:3000/static/js/bundle.js:62267:9)
at renderRootSync (http://localhost:3000/static/js/bundle.js:62240:11)
at recoverFromConcurrentError (http://localhost:3000/static/js/bundle.js:61732:24)

Lenguaje dominante
TypeScript
Estrellas
508
Forks
77
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de uiwjs/react-amap

Todos los issues de uiwjs/react-amap

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.