El presidente legítimo de Venezuela es Edmundo González, electo por la voluntad del pueblo. Rechazamos el fraude y defendemos la democracia. ¡Queremos una Venezuela libre, justa y de todos! 🇻🇪 #Democracia#VenezuelaLibre
In @Qwik there are two lifecycle methods:
useTask and useVisibleTask but they work differently than every frontend framework you've used so far.
(You can read my previous posts to see more details about it but today I wanna add one more concept)
Usually the life of a component starts on the server (during SSR or SSG).
When mounted, on the first render, the "useTask" function is invoked on the server, then the component is rendered and the "useVisibleTask" run on the client.
However, even if the component contains a state(a signal) that is updated later or if it receives a property from the parent, they will always have a lifecycle with an identical order but:
1️⃣ the useTask will be invoked in the browser instead of on the server
2️⃣ the component will be rendered
3️⃣ useVisible Task will always be invoked in the browser
To give a real example, if we have to render data but first want to make a transformation, then we will use "useTask", so that on the first render these operations are performed on the server with advantages in terms of performance and SEO and, therefore, high scores of core web vitals.
From the second time it will be executed on the client.
If, on the other hand, we have to interact with the browser, initialize or update libraries such as charts, google maps, assign focus to input and so on, we can use "useVisibleTask" which we are sure is always and only executed on the browser, after the render.
#qwik
Mientras exista la pauta oficial no habrá libertad de expresión.
Cada vez son más los periodistas que le hacen un llamado de atención a sus colegas diciéndoles que se nota mucho las operaciones.
La única forma de ganar es fiscalizando.
¡Ya tengo mi entrada para la Platzi Conf! Este 13 de mayo asistiré en vivo y directo a las mejores charlas de la industria digital desde México. Suscríbete a @platzi y asegura tu lugar. platzi.com/conf/
¡Estoy alucinando con esto! 😱
Acaban de publicar el código del algoritmo de Twitter...
¡Y tiene reglas para detectar si el tweet es de Elon Musk!
Lo podéis ver aquí:
#L225" target="_blank" rel="nofollow noopener">github.com/twitter/the-al…
Los escuchamos 💚
El Curso de Introducción a Inteligencia Artificial de @platzi ahora es GRATIS hasta fin de mes.
Aprende a integrar ChatGPT, Dall-e y otras AI en tu trabajo y sácales máximo provecho 🔥
Entra y por favor, ayúdanos a compartirlo 👇
platzi.com/cursos/ai/?free
Entre todos los misterios que nos rodean, nada es más cierto que el hecho de que estamos en presencia de una Energía Infinita y Eterna de la cual proceden todas las cosas. Herbert Spencer
@sebacc92 Hola buenas noches bro.Espero estes bien. Disculpa, me puedes ayudar con una duda, de una asersion que escribistes. Si puedes ayudarme, te agradece. Quedo atento compa.
La única fortuna que vale la pena encontrar es un propósito de vida; y no lo hallarás en tierras extrañas, sino en tu propio corazón.
ROBERT LOUIS STEVENSON
El tiempo es un trabajador maestro que sana las heridas de la derrota temporal, equilibra las desigualdades y corrige los errores del mundo.
Con el tiempo nada es "imposible"!