<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Explorando el Uso de useNavigate en React by ANGIE NOEMI CELESTINO VALENCIA</title>
      <link>https://padlet.com/20460159/6onwv29qrl6l3clz</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2024-04-30 19:49:41 UTC</pubDate>
      <lastBuildDate>2024-06-01 21:47:39 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>¿Qué es?</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975845009</link>
         <description><![CDATA[<p>Este hook nos devuelve la función navigate, que nos permite hacer redirecciones programáticas. Con esta función, podemos hacer lo mismo que con el componente navigate. Es decir, redirigir una URL al resultado de otra ruta. Si no conoces cómo funciona este componente, te invitamos a leer nuestro post sobre redirigir una ruta con React Router.</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456586088/67c1b8178b1341ea5f208e4637893ed8/image.png" />
         <pubDate>2024-04-30 19:54:42 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975845009</guid>
      </item>
      <item>
         <title>Diferencia</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975845442</link>
         <description><![CDATA[<p>La diferencia entre el hook useNavigate y el componente navigate en React Router es que, con el uso del hook, podemos utilizar una función. Esto implica que podemos utilizarlo en cualquier parte del código.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 19:55:19 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975845442</guid>
      </item>
      <item>
         <title>Ventajas:</title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975850105</link>
         <description><![CDATA[<p><strong>&lt;Link&gt;:</strong></p><p><strong>Facilidad de uso:</strong> <strong>&lt;Link&gt;</strong> proporciona una forma simple y declarativa de establecer enlaces entre diferentes partes de tu aplicación React. Es intuitivo y fácil de implementar.</p><p><strong>Optimización de rendimiento:</strong> <strong>&lt;Link&gt;</strong> está optimizado para la navegación en una aplicación React. Utiliza técnicas como la precarga (prefetching) para mejorar la velocidad de carga de las páginas vinculadas, lo que puede proporcionar una mejor experiencia al usuario.</p><p><strong>Compatibilidad con accesibilidad:</strong> <strong>&lt;Link&gt;</strong> se integra bien con las herramientas de accesibilidad en React. Puedes establecer atributos <strong>aria</strong> para mejorar la experiencia de navegación para usuarios con discapacidad visual.</p><p><strong>Integración con react-router:</strong> <strong>&lt;Link&gt;</strong> es parte de la librería <strong>react-router</strong>, lo que significa que se integra perfectamente con otras características y funcionalidades de enrutamiento proporcionadas por <strong>react-router</strong>.</p><p><strong>Flexibilidad en la navegación programática:</strong> <strong>useNavigate</strong> te permite realizar la navegación de forma programática en respuesta a eventos o lógica compleja en tu aplicación. Esto proporciona una mayor flexibilidad en comparación con <strong>&lt;Link&gt;</strong>, que se enfoca en la navegación basada en eventos de usuario.</p><p><strong>useNavigate:</strong></p><p><strong>Mayor control sobre el flujo de la aplicación:</strong> Con <strong>useNavigate</strong>, puedes controlar el flujo de navegación de manera más granular. Puedes decidir cuándo y cómo navegar, lo que es útil en escenarios donde necesitas validar datos o realizar acciones específicas antes de redirigir al usuario.</p><p><strong>Compatibilidad con cualquier tipo de evento:</strong> A diferencia de <strong>&lt;Link&gt;</strong>, que se utiliza principalmente para enlaces de tipo <strong>&lt;a&gt;</strong> y <strong>&lt;NavLink&gt;</strong>, <strong>useNavigate</strong> puede ser utilizado con cualquier tipo de evento, como clics de botón, envíos de formularios, o incluso eventos personalizados.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 20:01:22 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975850105</guid>
      </item>
      <item>
         <title>Ejemplo</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975850477</link>
         <description><![CDATA[<p>Supongamos que tienes una aplicación con una pantalla de inicio (<strong>HomeScreen</strong>) y una pantalla de detalle (<strong>DetailScreen</strong>). Quieres navegar de la pantalla de inicio a la pantalla de detalle y viceversa.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 20:01:53 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975850477</guid>
      </item>
      <item>
         <title></title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975851465</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456586088/e6907a7395d93870a1daf082d7c3f3bc/image.png" />
         <pubDate>2024-04-30 20:03:23 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975851465</guid>
      </item>
      <item>
         <title></title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975851925</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456586088/e0ea272f3749ccb1776b84396dc011e8/image.png" />
         <pubDate>2024-04-30 20:04:03 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975851925</guid>
      </item>
      <item>
         <title>Desventajas:</title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975852401</link>
         <description><![CDATA[<p><strong>&lt;Link&gt;</strong> :</p><p><strong>Limitaciones en la navegación programática:</strong> <strong>&lt;Link&gt;</strong> está diseñado principalmente para la navegación mediante interacciones del usuario, como hacer clic en un enlace. Si necesitas realizar la navegación en respuesta a eventos o lógica compleja, puede resultar menos flexible que usar <strong>useNavigate</strong> u otras formas de navegación programática.</p><p><strong>Complejidad en ciertos casos de uso avanzados:</strong> En casos de uso avanzados, como la navegación condicional o la manipulación de la historia del navegador, <strong>&lt;Link&gt;</strong> puede resultar menos flexible y puede requerir soluciones alternativas más complejas.</p><p><strong>Posible sobrecarga de renderizado:</strong> Aunque <strong>&lt;Link&gt;</strong> está optimizado para el rendimiento, en aplicaciones muy grandes con muchos enlaces, puede haber una pequeña sobrecarga de renderizado debido al manejo interno de eventos y actualizaciones de estado.</p><p><strong>useNavigate:</strong></p><p><strong>Más complejo de implementar:</strong> <strong>useNavigate</strong> requiere un poco más de configuración y entendimiento que <strong>&lt;Link&gt;</strong>, especialmente para desarrolladores que están menos familiarizados con los hooks en React o con el enrutamiento programático.</p><p><strong>Posibilidad de errores en la manipulación de la historia del navegador:</strong> Al utilizar <strong>useNavigate</strong> para realizar cambios en la historia del navegador, existe un mayor riesgo de introducir errores o inconsistencias en el historial de navegación, especialmente en aplicaciones complejas.</p><p><strong>Posible pérdida de las optimizaciones de rendimiento de &lt;Link&gt;:</strong> <strong>&lt;Link&gt;</strong> está optimizado para mejorar el rendimiento de la navegación al precargar recursos y minimizar las actualizaciones innecesarias de la interfaz de usuario. Al usar <strong>useNavigate</strong>, es posible que pierdas algunas de estas optimizaciones, lo que podría afectar ligeramente el rendimiento en aplicaciones grandes o complejas.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 20:04:45 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975852401</guid>
      </item>
      <item>
         <title>En el ejemplo:</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975852862</link>
         <description><![CDATA[<p><br/></p><ul><li><p>En el componente <strong>HomeScreen</strong>, se utiliza <strong>useNavigation</strong> para obtener el objeto de navegación.</p></li><li><p>Luego, se utiliza el objeto de navegación para navegar a la pantalla de detalles cuando se presiona el botón "Go to Details".</p></li><li><p>De manera similar, en el componente <strong>DetailScreen</strong>, se utiliza <strong>useNavigation</strong> para obtener el objeto de navegación.</p></li><li><p>Luego, se utiliza el objeto de navegación para navegar a la pantalla de inicio cuando se presiona el botón "Go to Home".</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 20:05:29 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975852862</guid>
      </item>
      <item>
         <title></title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975853515</link>
         <description><![CDATA[<ol><li><p>Casero, A. (2022, septiembre 21). Hooks en React Router. Recuperado el 30 de abril de 2024, de KeepCoding Bootcamps website: <a rel="noopener noreferrer nofollow" href="https://keepcoding.io/blog/hooks-en-react-router/">https://keepcoding.io/blog/hooks-en-react-router/</a></p></li><li><p>(N.d.). <a rel="noopener noreferrer nofollow" href="http://Reddit.com">Reddit.com</a>. Retrieved April 30, 2024, from <a rel="noopener noreferrer nofollow" href="https://www.reddit.com/r/reactjs/comments/vq2hb6/cu%C3%A1l_es_mejor_usar_link_o_usenavigate/es/">https://www.reddit.com/r/reactjs/comments/vq2hb6/cu%C3%A1l_es_mejor_usar_link_o_usenavigate/es/</a></p></li><li><p>Wachira, G. (2023, septiembre 12). How to Use React Router V6: A Beginner’s Guide. Recuperado el 30 de abril de 2024, de MUO website: <a rel="noopener noreferrer nofollow" href="https://www.makeuseof.com/react-router-v6-how-use/">https://www.makeuseof.com/react-router-v6-how-use/</a></p><p><br></p><p><br></p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-04-30 20:06:26 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975853515</guid>
      </item>
      <item>
         <title>Introducción de React Router</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975855254</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.youtube.com/watch?v=zCgruoRUxlk" />
         <pubDate>2024-04-30 20:09:03 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975855254</guid>
      </item>
      <item>
         <title>Redireccionar página con useNavigation</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856217</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.youtube.com/watch?v=lluT0iCGMxU" />
         <pubDate>2024-04-30 20:10:26 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856217</guid>
      </item>
      <item>
         <title>useNavigation </title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856638</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.youtube.com/watch?v=u_wHZMbqlRM" />
         <pubDate>2024-04-30 20:11:02 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856638</guid>
      </item>
      <item>
         <title></title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856824</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://keepcoding.io/blog/hooks-en-react-router/" />
         <pubDate>2024-04-30 20:11:18 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856824</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856852</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/1c585ae27961d36df0c27ee834cc1406/image.png" />
         <pubDate>2024-04-30 20:11:20 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975856852</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975860464</link>
         <description><![CDATA[<p><strong>TECNOLÓGICO NACIONAL DE MÉXICO&nbsp;</strong></p><p><strong>INSTITUTO TECNOLÓGICO DE COLIMA&nbsp;</strong></p><p>&nbsp;</p><p>Ingeniería en Sistemas Computacionales&nbsp;</p><p>Periodo: Enero – Junio 2024&nbsp;</p><p><br></p><p>Materia: Aplicaciones Web Modernas&nbsp;</p><p>&nbsp;</p><p>Actividad: Explorando el Uso de useNavigate en React</p><p><br></p><p>Docente: Patricia Elizabeth Figueroa Millan&nbsp;</p><p><br></p><p>Estudiantes:&nbsp;</p><p>Fátima Guadalupe García Ramirez-20460262</p><p>Angie Noemi Celestino Valencia-20460159</p><p>Luis Emilio Partida Contreras-18460120</p><p>&nbsp;<br></p><p>&nbsp;Villa de Álvarez, Colima; 30 de Abril del 2024</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456586088/7ce639890bb0bc135866220393491fd2/image.png" />
         <pubDate>2024-04-30 20:15:58 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975860464</guid>
      </item>
      <item>
         <title>Guía</title>
         <author>20460262</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975860796</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.makeuseof.com/react-router-v6-how-use/" />
         <pubDate>2024-04-30 20:16:28 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975860796</guid>
      </item>
      <item>
         <title>useNavigate:</title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975865373</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/c619ba7a0698aa21f1392f0a289b1188/image.png" />
         <pubDate>2024-04-30 20:22:42 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975865373</guid>
      </item>
      <item>
         <title>Antes con Link:</title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975866189</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/35bac4edafb657242a080af6ed68e052/image.png" />
         <pubDate>2024-04-30 20:23:43 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975866189</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975867076</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/7888b7d8af8418d644700d54e0629a23/image.png" />
         <pubDate>2024-04-30 20:24:48 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975867076</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975868025</link>
         <description><![CDATA[<p>En este enlace se muestra el código ya modificado</p>]]></description>
         <enclosure url="https://github.com/LuisDeLaValie/demorouter" />
         <pubDate>2024-04-30 20:26:03 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975868025</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975877896</link>
         <description><![CDATA[<p><strong>Objetivo</strong>: Comprender y aplicar el uso del hook useNavigate en React para la navegación programática.</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456586088/ef4711b9dd350a5fc916996fc6d33b32/image.png" />
         <pubDate>2024-04-30 20:39:57 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975877896</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975879826</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/dd0ed18ab5bb02a70ad8a0d7d3eb3df6/image.png" />
         <pubDate>2024-04-30 20:42:52 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975879826</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975880171</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/338f4d58e374d583f320b8947231f3e9/image.png" />
         <pubDate>2024-04-30 20:43:26 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975880171</guid>
      </item>
      <item>
         <title></title>
         <author>20460159</author>
         <link>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975880534</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2456587754/7160a1171009f27ffb2f31648d6164b6/image.png" />
         <pubDate>2024-04-30 20:43:57 UTC</pubDate>
         <guid>https://padlet.com/20460159/6onwv29qrl6l3clz/wish/2975880534</guid>
      </item>
   </channel>
</rss>
