<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Urian Viera on Medium]]></title>
        <description><![CDATA[Stories by Urian Viera on Medium]]></description>
        <link>https://medium.com/@programadorphp2017?source=rss-2ba4518e9140------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wnyiEdCQw2CdSXXs_Ql3UA.jpeg</url>
            <title>Stories by Urian Viera on Medium</title>
            <link>https://medium.com/@programadorphp2017?source=rss-2ba4518e9140------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:44:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@programadorphp2017/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[La Mejor Librería de Toast Notifications para React.js: 0 Dependencias, Next.js y CDN Incluidos]]></title>
            <link>https://medium.com/@programadorphp2017/la-mejor-librer%C3%ADa-de-toast-notifications-para-react-js-0-dependencias-next-js-y-cdn-incluidos-3c38d27fb2e4?source=rss-2ba4518e9140------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c38d27fb2e4</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Urian Viera]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 21:13:13 GMT</pubDate>
            <atom:updated>2026-04-15T21:25:53.807Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*tN-j9ftO0_aIia8uAmhaFg.png" /></figure><p>Estaba buscando algo para manejar notificaciones en un proyecto con Next.js y la verdad esperaba el proceso de siempre: instalar, configurar, resolver conflictos de dependencias, etc.</p><p>Pero con <strong>nextjs-toast-notify</strong> fue diferente. La instalé, escribí una línea de código y funcionó. Sin configuración extra, sin dependencias, sin dolores de cabeza.</p><p>Lo que más me llamó la atención:</p><ul><li>Tiene 7 animaciones de transición distintas</li><li>Soporta sonido y barra de progreso</li><li>Funciona también en proyectos con HTML y JS puro vía CDN, no solo en frameworks</li></ul><pre>showToast.success(&quot;¡Operación exitosa!&quot;);</pre><p>Eso fue todo lo que necesité.</p><p>No sé si es la mejor del mercado pero para lo que necesitaba fue justo lo que buscaba. ¿Alguien la ha usado?</p><p>🔗 NPM: <a href="https://www.npmjs.com/package/nextjs-toast-notify">https://www.npmjs.com/package/nextjs-toast-notify</a></p><p>🔗 <a href="https://www.nextjstoastnotify.com/">https://www.nextjstoastnotify.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c38d27fb2e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Alertas Modernas y Efectivas para Next.JS con Next.js Toast Notify]]></title>
            <link>https://medium.com/@programadorphp2017/alertas-modernas-y-efectivas-para-next-js-con-next-js-toast-notify-20e12b67ded6?source=rss-2ba4518e9140------2</link>
            <guid isPermaLink="false">https://medium.com/p/20e12b67ded6</guid>
            <dc:creator><![CDATA[Urian Viera]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 13:23:35 GMT</pubDate>
            <atom:updated>2025-01-24T14:08:04.460Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*BrOkK6H9mv3W_kEZGkaHXg.gif" /></figure><p><strong>Nextjs Toast Notify</strong> es el paquete <strong>npm </strong>que transformará cómo manejas las notificaciones en tus aplicaciones web. Diseñado para ofrecer una experiencia de usuario sin interrupciones, <strong>Nextjs Toast Notify</strong> permite agregar alertas emergentes (<strong>toasts</strong>) con una estética moderna y personalizable. <strong>Nextjs Toast Notify</strong> también destaca por su configuración intuitiva y opciones flexibles, que te permiten adaptar las notificaciones a tus necesidades específicas con facilidad.</p><p><strong>¿Para Qué Fue Creado?</strong></p><p>Este paquete fue creado para simplificar la implementación de notificaciones en aplicaciones web, permitiendo a los desarrolladores agregar mensajes informativos, de éxito, advertencia o error de forma rápida y sencilla. <strong>Nextjs Toast Notify</strong> es altamente personalizable y compatible con diferentes posiciones en la pantalla, así como con varios efectos de animación para mejorar la experiencia del usuario.</p><p><strong>¿Qué necesidad resuelve?</strong></p><p>Este paquete responde a la necesidad de mejorar la manera en que los desarrolladores muestran mensajes de notificación al usuario en aplicaciones web, sin interrumpir la interacción actual. En muchas aplicaciones web, es crucial tener una forma efectiva de informar al usuario sobre eventos importantes, resultados de acciones o errores.</p><p><strong>Instalación</strong></p><p>Puedes instalar el paquete usando npm:</p><pre>$ npm install nextjs-toast-notify - save<br>$ yarn add nextjs-toast-notify</pre><p><strong>Casos de uso:</strong></p><p><strong>Integrar Next.js Toast Notify en una aplicación ToDo con React.js</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*6aLuM178SYCVKNo9HRQMNw.gif" /></figure><p>👉 [Ver Código en GitHub](<a href="https://github.com/urian121/Create-ToDo-List-App-with-ReactJS">https://github.com/urian121/Create-ToDo-List-App-with-ReactJS</a>)</p><p><strong>Ejemplo Práctico utilizando React.js</strong></p><pre>import { toast } from &quot;nextjs-toast-notify&quot;;<br>import &quot;nextjs-toast-notify/dist/nextjs-toast-notify.css&quot;;<br>function App() {<br> const handleShowToastCenter = () =&gt; {<br> toast.success(&quot;¡La operación se realizó con éxito!&quot;, {<br> duration: 5000,<br> progress: true,<br> position: &quot;bottom-center&quot;,<br> transition: &quot;bounceIn&quot;,<br> icon: &#39;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;20&quot; height=&quot;20&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.75&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; class=&quot;lucide lucide-check&quot;&gt;&lt;path d=&quot;M20 6 9 17l-5–5&quot;/&gt;&lt;/svg&gt;&#39;,<br> sonido: true,<br> });<br> };<br>return &lt;button onClick={handleShowToastCenter}&gt;Top center&lt;/button&gt;;<br>}<br>export default App;</pre><p>Integrar <strong>Next.js Toast Notify</strong> en una aplicación de Next.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-VynHn2Kyy78dFHttOCB_Q.gif" /></figure><p>👉 [Ver Código en GitHub](<a href="https://github.com/urian121/sistema-like-dislikes-con-nextjs-y-nextjs-toast-notify">https://github.com/urian121/sistema-like-dislikes-con-nextjs-y-nextjs-toast-notify</a>)</p><p><strong>Tipos de Notificaciones</strong></p><p>Para mostrar notificaciones de un tipo específico, solo necesitas especificar el tipo de toast. A continuación se describen los tipos de toasts disponibles y cómo configurar los:</p><p><strong>Tipos de Toast</strong></p><ul><li><strong>toast.success:</strong> Muestra un toast de éxito.</li><li><strong>toast.er</strong>ror: Muestra un toast de error.</li><li><strong>toast.warning: </strong>Muestra un toast de advertencia.</li><li><strong>toast.info:</strong> Muestra un toast de información.</li></ul><p><strong>Ejemplos de Uso</strong></p><pre>import { toast } from &quot;nextjs-toast-notify&quot;;<br>import &quot;nextjs-toast-notify/dist/nextjs-toast-notify.css&quot;;<br>function App() {<br> const handleShowSuccessToast = () =&gt; {<br> toast.success(&quot;¡La operación se realizó con éxito!&quot;, {});<br> };<br>return &lt;button onClick={handleShowSuccessToast}&gt;Toast Success&lt;/button&gt;;<br>}<br>export default App;</pre><p>Mostrar Notificaciones en Diferentes Posiciones</p><p>Para mostrar notificaciones en diferentes posiciones de la pantalla, solo necesitas especificar la opción <strong>`<em>position</em>`</strong> con uno de los siguientes valores:</p><ul><li><strong>top-left: </strong>Esquina superior izquierda</li><li><strong>top-center:</strong> Centro superior</li><li><strong>top-right:</strong> Esquina superior derecha</li><li><strong>bottom-left:</strong> Esquina inferior izquierda</li><li><strong>bottom-center:</strong> Centro inferior</li><li><strong>bottom-right: </strong>Esquina inferior derecha</li></ul><p>Aquí tienes un ejemplo de cómo configurar lo:</p><pre>toast.success(&quot;¡Operación exitosa!&quot;, {<br> position: &quot;top-right&quot;, // &#39;top-left&#39; | &#39;top-center&#39; | &#39;top-right&#39; | &#39;bottom-left&#39; | &#39;bottom-center&#39; | &#39;bottom-right&#39;<br>});</pre><h3><strong>Uso a través de CDN</strong></h3><p>También puedes incluir <strong>Nextjs Toast Notify </strong>directamente en tu proyecto utilizando un enlace CDN. Sigue estos pasos:</p><pre>html<br>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;es&quot;&gt;<br> &lt;head&gt;<br> &lt;meta charset=&quot;UTF-8&quot; /&gt;<br> &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; /&gt;<br> &lt;title&gt;Nextjs Toast Notify con CDN&lt;/title&gt;<br> &lt;! - Incluir el CSS del paquete →<br> &lt;link<br> rel=&quot;stylesheet&quot;<br> href=&quot;https://cdn.jsdelivr.net/npm/nextjs-toast-notify@1.27.0/dist/nextjs-toast-notify.css&quot;<br> /&gt;<br> &lt;/head&gt;<br> &lt;body&gt;<br> &lt;button id=&quot;show-toast&quot;&gt;Show Toast&lt;/button&gt;<br>&lt;script type=&quot;module&quot;&gt;<br> import { toast } from &quot;https://unpkg.com/nextjs-toast-notify@1.27.0/dist/index.js&quot;;<br>document.getElementById(&quot;show-toast&quot;).addEventListener(&quot;click&quot;, () =&gt; {<br> toast.success(&quot;Hola a todos los Devs!&quot;, {<br> duration: 5000, // Duración de la notificación en ms<br> position: &quot;top-right&quot;, // Posición de la notificación<br> transition: &quot;bounceIn&quot;, // Tipo de transición para la entrada<br> icon: &quot;&quot;,<br> sonido: true, // Reproducir sonido<br> });<br> });<br> &lt;/script&gt;<br> &lt;/body&gt;<br>&lt;/html&gt;</pre><h3>Ventajas y Características Clave</h3><ul><li><strong>Fácil Integración:</strong> Simple de agregar y utilizar en cualquier proyecto web.</li><li><strong>Altamente Configurable:</strong> Personaliza la duración, la posición, el progreso y el tipo de notificación.</li><li><strong>Integración rápida: </strong>Instalación simple a través de npm o yarn, listo para usar en minutos.</li><li><strong>Efectos de Animación:</strong> Soporta diferentes efectos de animación para las notificaciones de entrada y salida.</li><li><strong>Control del Progreso: </strong>Incluye una barra de progreso opcional para mostrar la duración restante de la notificación.</li><li><strong>Posiciones de Notificación:</strong> Soporta múltiples posiciones en la pantalla: <strong><em>`top-left`, `top-center`, `top-right`, `bottom-left`, `bottom-center`, `bottom-right`</em></strong>.</li><li><strong>Tipos de Notificación:</strong> Cuatro tipos de notificación predefinidos: <strong><em>`success`, `error`, `warning`, `info`.</em></strong></li><li><strong>Animaciones:</strong> Soporte para animaciones de entrada y salida configurables (<strong><em>`fadeIn`, `bounceIn`, `swingInverted`, `popUp`, `bottomToTopBounce`, `bounceInDown`</em></strong>).</li><li><strong>Barra de Progreso:</strong> Opcional para mostrar el progreso de la notificación.</li><li><strong>Cierre Manual:</strong> Permite al usuario cerrar las notificaciones mediante un botón de cierre.</li><li><strong>Configuración por Defecto:</strong> Las animaciones y el comportamiento de la notificación se pueden personalizar a través de las opciones de configuración.</li><li><strong>Actualizaciones regulares:</strong> Mantenido activamente con mejoras y actualizaciones periódicas.</li><li><strong>Licencia abierta:</strong> Publicado bajo licencia MIT, permitiendo su uso en proyectos comerciales y personales sin restricciones.</li><li><strong>Documentación clara y detallada:</strong> Incluye ejemplos prácticos y documentación completa para facilitar la implementación y configuración.</li></ul><p><strong>API</strong></p><p>La API de<strong> Nextjs Toast Notify</strong> te permite mostrar notificaciones emergentes con una amplia gama de configuraciones. A continuación, se detalla cómo utilizar los métodos disponibles y qué opciones puedes configurar.</p><h3>Métodos:</h3><p><strong>Nextjs Toast Notify</strong> incluye los siguientes métodos para mostrar notificaciones:</p><ul><li><strong><em>toast.success(message)</em>:</strong> Notificación de éxito.</li><li><strong><em>toast.error(message)</em>:</strong> Notificación de error.</li><li><strong><em>toast.warning(message)</em>:</strong> Notificación de advertencia.</li><li><strong><em>toast.info(message)</em>:</strong> Notificación informativa.</li></ul><p><strong>Opciones</strong></p><p>Las opciones para personalizar las notificaciones se pueden pasar como el segundo parámetro a cada uno de los métodos anteriores. Las opciones disponibles son:</p><ul><li><strong><em>duration:</em></strong></li><li><em>Tipo:</em> `number`</li><li><em>Descripción: </em>Define la duración de la notificación en milisegundos.</li><li>Valor por defecto**: `8000`</li><li><strong>progress:</strong></li><li><em>Tipo:</em> `boolean`</li><li><em>Descripción:</em> Si se debe mostrar una barra de progreso para la notificación.</li><li><em>Valor por defecto:</em> `true`</li><li><strong>position:</strong></li><li>Tipo:<em> `’top-left’ | ‘top-center’ | ‘top-right’ | ‘bottom-left’ | ‘bottom-center’ | ‘bottom-right’`</em></li><li><strong>Descripción:</strong> La posición de la notificación en la pantalla.</li><li><strong>Valor por defecto: </strong><em>`’top-right’`</em></li><li><strong>transition:</strong></li><li><em>Tipo: `’fadeIn’ | ‘bounceIn’ | ‘swingInverted’ | ‘popUp’ | ‘bottomToTopBounce’ | ‘bounceInDown’`</em></li><li><em>Descripción:</em> El efecto de animación de entrada o salida para la notificación.</li><li><em>Valor por defecto:</em> `’fadeIn’`</li><li><strong>icon:</strong></li><li><em>Tipo:</em> `string`</li><li><em>Descripción:</em> Icono personalizado para la notificación (opcional). Si no se proporciona, se usa un ícono predeterminado basado en el tipo de notificación.</li><li><strong>sonido:</strong></li><li><em>Tipo: </em>`boolean`</li><li><em>Descripción:</em> Reproduce un sonido cuando se muestra la notificación.</li><li><em>Valor por defecto: </em>`false`</li></ul><p><strong>Desarrollado por</strong></p><ul><li><a href="https://github.com/urian123">https://github.com/urian123</a></li><li><a href="https://www.urianviera.com/">https://www.urianviera.com</a></li><li><a href="https://www.youtube.com/WebDeveloperUrianViera">https://www.youtube.com/WebDeveloperUrianViera</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e12b67ded6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Eleva tu App con Notificaciones Elegantes: Nextjs Toast Notify]]></title>
            <link>https://medium.com/@programadorphp2017/eleva-tu-app-con-notificaciones-elegantes-nextjs-toast-notify-a0d2d641fdc8?source=rss-2ba4518e9140------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0d2d641fdc8</guid>
            <category><![CDATA[toast]]></category>
            <category><![CDATA[notifications]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Urian Viera]]></dc:creator>
            <pubDate>Fri, 06 Sep 2024 15:33:35 GMT</pubDate>
            <atom:updated>2024-09-06T15:38:45.740Z</atom:updated>
            <content:encoded><![CDATA[<h3>Nextjs Toast Notify: El Poder de las Notificaciones Inteligentes para tu Web</h3><p><strong>Nextjs Toast Notify</strong> es el paquete npm que transformará cómo manejas las notificaciones en tus aplicaciones web. Diseñado para ofrecer una experiencia de usuario sin interrupciones,<strong> Nextjs Toast Notify </strong>permite agregar alertas emergentes (toasts) con una estética moderna y personalizable. <strong>Nextjs Toast Notify</strong> también destaca por su configuración intuitiva y opciones flexibles, que te permiten adaptar las notificaciones a tus necesidades específicas con facilidad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*QvL4PCzNnSajssPWnqXYRw.gif" /></figure><h3><strong>¿Para Qué Fue Creado?</strong></h3><p>Este paquete fue creado para simplificar la implementación de notificaciones en aplicaciones web, permitiendo a los desarrolladores agregar mensajes informativos, de éxito, advertencia o error de forma rápida y sencilla. <strong>Nextjs Toast Notify </strong>es altamente personalizable y compatible con diferentes posiciones en la pantalla, así como con varios efectos de animación para mejorar la experiencia del usuario.</p><h3><strong>¿Qué necesidad resuelve?</strong></h3><p>Este paquete responde a la necesidad de mejorar la manera en que los desarrolladores muestran mensajes de notificación al usuario en aplicaciones web, sin interrumpir la interacción actual. En muchas aplicaciones web, es crucial tener una forma efectiva de informar al usuario sobre eventos importantes, resultados de acciones o errores.</p><h3><strong>Instalación</strong></h3><p><strong>Puedes instalar el paquete usando npm:</strong></p><pre>$ npm install nextjs-toast-notify --save<br>$ yarn add nextjs-toast-notify</pre><h4><strong>Casos de uso:</strong></h4><p><strong>Integrar Nextjs Toast Notify en una aplicación ToDo con React.js</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*6aLuM178SYCVKNo9HRQMNw.gif" /></figure><h4><strong>Ejemplo Práctico utilizando React.js</strong></h4><pre>import { toast } from &quot;nextjs-toast-notify&quot;;<br>import &quot;nextjs-toast-notify/dist/nextjs-toast-notify.css&quot;;<br><br>function App() {<br>  const handleShowToastCenter = () =&gt; {<br>    toast.success(&quot;¡La operación se realizó con éxito!&quot;, {<br>      duration: 4000,<br>      progress: true,<br>      position: &quot;bottom-center&quot;,<br>      transition: &quot;bounceIn&quot;,<br>      icon: &#39;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;24&quot; height=&quot;24&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;2&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; class=&quot;lucide lucide-check&quot;&gt;&lt;path d=&quot;M20 6 9 17l-5-5&quot;/&gt;&lt;/svg&gt;&#39;,<br>      sonido: true,<br>    });<br>  };<br><br>  return &lt;button onClick={handleShowToastCenter}&gt;Top center&lt;/button&gt;;<br>}<br><br>export default App;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-VynHn2Kyy78dFHttOCB_Q.gif" /></figure><p>Te invito a descubrir más sobre <strong>nextjs-toast-notify</strong>, un paquete esencial para incorporar notificaciones emergentes (toasts) en tus aplicaciones web.</p><p>Obtén más detalles y empieza a usarlo visitando:</p><p>👉 <a href="https://www.nextjstoastnotify.com/">https://www.nextjstoastnotify.com</a></p><p>👉 <a href="https://www.npmjs.com/package/nextjs-toast-notify">https://www.npmjs.com/package/nextjs-toast-notify</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0d2d641fdc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>