Uh oh!
There was an error while loading. Please reload this page.
Translate useLayoutEffect - #626
Conversation
Size ChangesDetails📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖 This PR introduced no changes to the javascript bundle 🙌 |
Uh oh!
There was an error while loading. Please reload this page.
| * `useLayoutEffect` es un Hook, así que solo puedes llamarlo **en el nivel mas alto de tu componente** o en tus propios Hooks. No puedes llamarlo dentro de bucles o condicionales. Si lo necesitas, extrae un nuevo componente y mueve el estado a él. | ||
| * When Strict Mode is on, React will **run one extra development-only setup+cleanup cycle** before the first real setup. This is a stress-test that ensures that your cleanup logic "mirrors" your setup logic and that it stops or undoes whatever the setup is doing. If this causes a problem, [you need to implement the cleanup function.](/learn/synchronizing-with-effects#how-to-handle-the-effect-firing-twice-in-development) | ||
| * Cuando el modo estricto está activado, React va a **ejecutar un setup adicional solo para desarrollo + ciclo de limpieza** antes del primer setup real. Esta es una prueba de estrés que asegura que tu lógica de limpieza sea un "espejo" de tu lógica del setup y se detenga o se deshaga lo que sea que tu setup esté haciendo. Si esto causa un problema [necesitas implementar la función de limpieza.](/learn/synchronizing-with-effects#how-to-handle-the-effect-firing-twice-in-development) |
There was a problem hiding this comment.
| * Cuando el modo estricto está activado, React va a **ejecutar un setup adicional solo para desarrollo + ciclo de limpieza** antes del primer setup real. Esta es una prueba de estrés que asegura que tu lógica de limpieza sea un "espejo" de tu lógica del setup y se detenga o se deshaga lo que sea que tu setup esté haciendo. Si esto causa un problema [necesitas implementar la función de limpieza.](/learn/synchronizing-with-effects#how-to-handle-the-effect-firing-twice-in-development) | |
| * Cuando el Modo Estricto está activado, React va a **ejecutar solo en desarrollo un ciclo adicional de setup+limpieza** antes del primer setup real. Esta es una prueba de estrés que asegura que tu lógica de limpieza sea un "espejo" de tu lógica del setup y se detenga o se deshaga lo que sea que tu setup esté haciendo. Si esto causa un problema [necesitas implementar la función de limpieza.](/learn/synchronizing-with-effects#how-to-handle-the-effect-firing-twice-in-development) |
There was a problem hiding this comment.
Corregí esta parte en el último commit (habia un espacio extra que no debe estar después de ciclo de limpieza** )
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as duplicate.
This comment was marked as duplicate.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
carburo
left a comment
There was a problem hiding this comment.
¡Gracias por tu contribución! He dejado algunos comentarios para que revises.
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
Co-authored-by: Rainer Martinez <rmartinezfraga@gmail.com>
luiserdef
commented
Mar 25, 2023
Me sorprendió las faltas de ortografía que se me escaparon. Ya he realizado los cambios que me has sugerido por lo que ahora debería estar todo en orden. |
#500