Tienes Tiempo para Construirlo Dos Veces

Rate this content
Bookmark

Si no tienes tiempo para construirlo bien, ¿cuándo tendrás tiempo para construirlo dos veces? En las startups de crecimiento hiperactivo, el viejo adagio se desmorona. Obtienes un horizonte de tiempo en expansión, SI puedes hacer que se envíe. Una característica imperfecta la próxima semana supera a la característica perfecta dentro de 2 meses. Tu código no importará si estás muerto. No creí esto hasta que lo vi yo mismo. Una startup al borde del hockeystick me contrató para reescribir su aplicación jQuery en React. Su tecnología probó la idea y luego se convirtió en una carga. Durante el próximo año reescribimos toda la aplicación desde cero, formamos un equipo de expertos en React, creamos un código base que es un placer trabajar con él, y llevamos a la empresa a una Serie B de $100,000,000. Todo porque los primeros ingenieros sabían que si la versión de mala calidad funciona, habrá tiempo y recursos para arreglarlo más tarde. Esta charla es sobre lo que he aprendido mientras reescribía una aplicación con usuarios golpeando la puerta.

FAQ

Una reescritura de software implica rediseñar y reprogramar una aplicación existente, como cambiar de jQuery a React. Este proceso puede incluir rediseñar la arquitectura de la aplicación, actualizar tecnologías y mejorar la funcionalidad general para cumplir con los requisitos actuales y futuros.

React ofrece una gestión más eficiente y moderna del estado y la interfaz de usuario, permitiendo componentes reutilizables y un mejor manejo del DOM virtual, lo que facilita la escalabilidad y el mantenimiento del código comparado con jQuery.

El patrón Strangler es una técnica de desarrollo de software que implica la refactorización incremental de una aplicación, reemplazando gradualmente partes del código antiguo con nuevas implementaciones hasta que todo el código antiguo es reemplazado, mejorando así la estructura sin detener el funcionamiento de la aplicación.

La reescritura de jQuery a React en la empresa resultó en una mejora significativa en la interfaz de usuario, la experiencia del usuario y la eficiencia del código. Además, durante el proceso de reescritura, la empresa creció cuatro o cinco veces y consiguió una importante financiación de Serie B.

Considerar una reescritura de software es crucial cuando la tecnología subyacente ya no es eficiente o no cumple con las nuevas demandas del mercado, los problemas de mantenimiento incrementan y para aprovechar las mejoras en las tecnologías modernas que pueden ofrecer una mejor escalabilidad, rendimiento y experiencia de usuario.

Los principales desafíos incluyen asegurar la continuidad del negocio durante la reescritura, manejar la complejidad del código legacy, evitar la expansión excesiva del alcance del proyecto y mantener la funcionalidad durante el proceso para no afectar a los usuarios finales negativamente.

Swizec Teller
Swizec Teller
21 min
17 Jun, 2022

Comments

Sign in or register to post your comment.

Video Summary and Transcription

La Charla de hoy se centra en las reescrituras de software, específicamente la transición de jQuery a React. El orador comparte su experiencia de reescribir una aplicación jQuery a React, destacando los beneficios de la reescritura en términos de mejor experiencia de usuario y aumento de las conversiones. Se discuten los enfoques para las reescrituras de software, incluyendo el enfoque página por página que permite la innovación del producto. El orador enfatiza la importancia de priorizar las reescrituras o refactorizaciones para las startups. La Charla concluye con ideas sobre pruebas, funcionalidad del lado del servidor y el valor general de la reescritura.

1. Introducción a las reescrituras de software

Short description:

Hoy, quiero hablar sobre las reescrituras de software. Más tarde es el momento mágico cuando todo puede suceder, con más dinero, un equipo más grande, más experiencia y una mejor comprensión del problema. Reescribimos una aplicación jQuery a React, lo que no ralentizó la velocidad del equipo sino que en realidad hizo crecer la empresa. jQuery sigue siendo popular, con un 84% de JavaScript de producción utilizándolo. React ha ganado las Guerras de Framework con un 8% de JavaScript de producción. Se discute la objeción a reescribir desde cero, utilizando el ejemplo de Netscape perdiendo ante IE.

Hola a todos. Soy Suez. Soy ingeniero de software, autor, y puedes decir que soy legítimo porque hay una gran pantalla detrás de mí. Así que hoy quiero hablarles sobre las reescrituras de software.

¿Quién ha visto esta cita antes? Si no tienes tiempo para construirlo bien, ¿cuándo tendrás tiempo para construirlo dos veces? No pude encontrar una atribución para esta cita porque muchas personas la han dicho. Lo que quiero decirles hoy es que tendrán tiempo para construirlo dos veces más tarde. Porque más tarde es el momento mágico cuando todo puede suceder. Porque, al menos en una empresa en crecimiento que está yendo realmente bien, más tarde también viene con más dinero, un equipo más grande, más experiencia, una mejor comprensión de tu problema, y simplemente, más tarde es este momento mágico, mágico.

La historia que quiero contarles es cómo reescribimos una aplicación jQuery, sí, una aplicación jQuery en 2020, de jQuery a React, reescritura completa, empezamos desde cero, y mientras lo hacíamos no solo no ralentizamos la velocidad del equipo, en realidad hicimos crecer la empresa cuatro o cinco veces y conseguimos una ronda de Serie B de $100 millones que se anunció en la famosa pantalla de NASDAQ, que por cierto, no sucede solo para las IPOs. Si conoces a las personas correctas, puedes simplemente pagarles cien dólares y apareces allí.

Así que sé, sé, sé, dije jQuery y quién aquí ha usado jQuery en el último, quién recuerda haber usado jQuery. Vale, vale. ¿Quién ha usado jQuery en 2020 justo antes de la pandemia? Vale, tenemos tres manos. Genial. Así que sé que jQuery es malo, pero en realidad sigue siendo súper popular. Esto es lo que tuiteé justo después de que SWIX, Shawn Wang diera una charla en React.com en San Francisco hace un par de meses. Resulta que el 84% de la producción de JavaScript sigue siendo jQuery. Y tiene este bonito gráfico que, vale genial, puedes verlo. Si miras el gráfico, hay como jQuery, 84%, luego tienes jQuery, Migrate, y yo no sé ni qué es eso. Y luego React está en como el 8% de la producción de JavaScript. Sin embargo, eso todavía significa que estás en la conferencia correcta porque React 1, porque ninguno de los otros frameworks están en el gráfico. Así que, al poseer el 8% de la web, React ha ganado las Guerras de Framework, sí, increíble.

La otra objeción que podrías tener a reescribir y empezar desde cero es si alguna vez has leído esta entrada de blog que salió en 2020, no, lo siento, no en 2020, en el año 2000 cuando los blogs todavía eran populares, este tipo de software Jolon que luego pasó a hacer stack overflow y un montón de otras cosas escribió un artículo realmente genial llamado Cosas que nunca deberías hacer y esencialmente explica por qué no todos estamos usando Netscape ahora mismo. ¿Quién recuerda Netscape? Vale. ¿Quién ha usado realmente Netscape? Genial. Vale. Así que hay un par de ustedes. Hace el argumento de que Netscape estaba ganando las guerras de los navegadores hasta que decidieron, sabes qué, Netscape 4 es un poco malo. Vamos a escribir Netscape 5 desde cero. Y luego IE entró y se comió su almuerzo.

2. Reescritura de jQuery a React

Short description:

Cuando me uní a la empresa, tenían una aplicación jQuery con 100,000-200,000 líneas de código. Era difícil de trabajar con ella, utilizando variables globales y mezclas mágicas. Decidimos reescribirla utilizando React, sin renderizado del lado del servidor. La nueva aplicación no solo se ve mejor, sino que también tiene más conversiones y usuarios más felices. La reescritura nos permitió mejorar el producto y aprovechar lo que aprendimos. Escribir software es como patear una lata, explorando y resolviendo problemas de manera incremental. Nuestra reescritura implicó cambiar y actualizar cosas basándonos en los comentarios de los usuarios.

Entonces, la historia sobre la reescritura de jQuery a React. Cuando me uní a la empresa en junio de 2020, tenían esta pequeña aplicación. ¿Se reproducirá? Se está reproduciendo. Vale. Entonces, esta es una aplicación jQuery. Se grabó en modo móvil porque eso era todo lo que había. Si abres esto en pantalla completa, todavía se vería tan ancho como se ve ahora. Y esto era aproximadamente 100,000, 200,000 líneas de código jQuery. Nadie sabía exactamente dónde estaban todas las funciones. Si intentabas mover algo, básicamente explotaría en tu cara. Estaba haciendo todas las mejores cosas de jQuery, variables globales, mezclas mágicas que simplemente crean nuevo code. Y gran parte de ello estaba trabajando en el frontend. Y aquí está la parte súper divertida. Cuando entré en la empresa, dije, vale, tenemos que reescribir. Vamos a hacer una SPA basada en React, sin renderizado del lado del servidor, etc. Ahora el renderizado del lado del servidor es popular y todo esto se renderizaba en el servidor porque así es como se usa jQuery. Tomas express, escupes un montón de HTML, luego añades variables globales de jQuery y funciones y funciona, más o menos.

Esto es lo que tenemos ahora. Está un poco mejor diseñado. Creo que se ve mejor. Hay algunos spinners de carga. Estamos usando en realidad React Query, que resolvió muchos de nuestros problemas. Esa fue una de las partes agradables. Y además de verse mejor, también tiene más conversiones, los usuarios están más contentos, nuestros puntajes NPS, eso es el puntaje de promotor neto sobre cuánto disfrutan los usuarios de tu empresa, tu producto en realidad subió. Y el punto que estoy tratando de hacer aquí es que no solo reescribimos la aplicación desde cero, también utilizamos todo lo que aprendimos para mejorar el producto en sí y la reescritura fue lo que nos dio la capacidad de reescribir.

Entonces, y eso es porque escribir software es como patear una lata, sabes, cuando estás caminando, es un bonito domingo, el sol está brillando, y estás caminando por la calle y hay una lata, y obviamente, te acercas y pateas la lata. Y luego sigues caminando y la lata rebota y va al otro lado y tú la pateas desde este lado, y estás como yendo a donde va la lata, ¿verdad? Y eso es más o menos cómo funciona el software también. El software se trata de exploración y descubrimiento lúdico de tu espacio de problemas, algo como patear una lata, sabes, vale, tengo este pequeño problema y voy a resolverlo, pateas la lata un poco más lejos por el camino, luego vas a donde te lleva el software y dices, vale, ahora sé mejor, tengo que intentar patearlo más en esa dirección. Entonces, eso es más o menos de lo que se trataba nuestra reescritura. Estábamos cambiando cosas, actualizando, obteniendo feedback de los usuarios, y esa es la parte importante, porque cuando tienes mal code, el nivel de esfuerzo que se necesita para hacer un cambio aumenta exponencialmente.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

No resuelvas problemas, elimínalos
React Advanced Conference 2021React Advanced Conference 2021
39 min
No resuelvas problemas, elimínalos
Top Content
Los humanos son solucionadores de problemas naturales y somos lo suficientemente buenos en eso que hemos sobrevivido a lo largo de los siglos y nos hemos convertido en la especie dominante del planeta. Debido a que somos tan buenos en eso, a veces también nos convertimos en buscadores de problemas, buscando problemas que podemos resolver. Aquellos que logran sus objetivos de la manera más exitosa son los eliminadores de problemas. Hablemos de la distinción entre resolver y eliminar problemas con ejemplos de dentro y fuera del mundo de la codificación.
Impacto: Creciendo como Ingeniero
React Summit 2022React Summit 2022
27 min
Impacto: Creciendo como Ingeniero
Top Content
Convertirse en un ingeniero web no es fácil, pero hay toneladas de recursos disponibles para ayudarte en tu viaje. ¿Pero a dónde vas desde allí? ¿Qué haces para seguir creciendo y para seguir expandiendo el valor que aportas a tu empresa? En esta charla, examinaremos los diferentes tipos de impacto que puedes tener como ingeniero web. Analizaremos lo que significa asumir proyectos más grandes y complejos, y cómo escalar a ti mismo y hacer crecer la comunidad a tu alrededor. Al impulsar nuestro propio desarrollo, todos podemos aumentar nuestro impacto, y en esta charla, discutiremos cómo hacerlo.
Sobre convertirse en un Tech Lead
TechLead Conference 2023TechLead Conference 2023
25 min
Sobre convertirse en un Tech Lead
Top Content
Ser un Tech Lead suena como mucho trabajo. Y no del tipo de codificación divertida tampoco. ¿Por qué querrías eso? ¿Cómo se siente cuando lo consigues?En esta charla, Swizec explica por qué dio el paso hacia el liderazgo técnico, cómo cambiaron sus prioridades y por qué significa que está haciendo más ingeniería que nunca. Un mundo completamente nuevo donde escribir código es la parte fácil.
Emma Bostian: I landed my dream job by sharing my blogs on Twitter
10 min
Emma Bostian: I landed my dream job by sharing my blogs on Twitter
Top Content
Featured Article
Emma Bostian
Emma Bostian
Software engineer, lecturer, podcast host, author — is there something Emma Bostian hasn't done? She moved from America to Sweden, started working at Spotify, and took up a few challenges along the way. And now she has some career tips to share.

What led you to software engineering? 
I was raised in the ecosphere of tech because my dad is a software engineer at IBM, and my mom was a designer there, too. My dad always encouraged me to join STEM and take a look at computer science — however, I was convinced I wanted to be a medical doctor. In my first year of college, I declared a biology major and quickly realized I was not too fond of it. In my second semester, I switched to an actuarial science major where I took Introduction to Computer Science, and the rest is history. In my second year of college, I declared a computer science major and began my journey from there.
What is the most impactful thing you ever did to boost your career?
Writing blog posts and documenting my learning journey on Twitter has far been the best career boost. I wrote purely for myself to reference the things I learned over time, and I even utilized my design skills in Figma to create custom graphics depicting difficult concepts like CSS specificity. By sharing my blogs on Twitter and engaging with the people reading them, I was able to grow an audience extremely quickly. I began receiving conference speaking opportunities, podcast requests, and course invitations to teach with LinkedIn Learning and Frontend Masters.
Ultimately, I landed my job at Spotify through Twitter, too, when a friend and follower of mine asked if I would be interested in interviewing. Now I live in Stockholm working my dream job. It still blows my mind how tweeting about my blog led me to some of the most amazing career opportunities.
What would be your three tips for engineers to level up their career? 
First, be patient. I often see posts on Twitter or LinkedIn about developers who were promoted to a senior position after a year. And while this is wonderful, I think we forget that each company has a different standard for what constitutes a senior developer, and everyone's journey will be different.
Second, don't be afraid to ask questions. If you try your best to solve a problem or answer a question you have, but you can't figure it out after a reasonable amount of time, ask a team member or mentor for help.
And lastly, invest in the right resources for learning. When I started my journey, I didn't know which platforms worked for me to learn. Now, I have a few trusted platforms such as Frontend Masters, Free Code Camp, or Level Up Tutorials that I go to when I need to learn a new skill.
You're currently working as a software engineer at Spotify. What does a typical day of yours look like there?
I begin my day answering emails. Then we have a team breakfast and a standup remotely as we're all still remote at Spotify. After that, we might have a web tech sync with the other squads in our business unit. The day usually includes some form of pair or mob programming, depending on the work stream. 
My team always has Fika, a traditional Swedish coffee break, scheduled every afternoon. Every couple of Fridays, we have team games planned to release some stress. 
Also, I tend to have a lot of free time to focus, which is nice but makes for a boring answer to this question!
Do you have some rituals or tools that keep you focused and goal-oriented?
I'll admit that I've been struggling with staying motivated in the time of remote work. I've been remote with Spotify since onboarding a year ago, but my team is wonderful, and they help me when I'm down.
Apart from that, I use Todoist to keep track of my tasks, and, naturally, I listen to Spotify while working. But other than that, not really. Maybe I should adopt some new tools to keep me on track!
My current favorite Spotify playlist is Brand New Chill: https://open.spotify.com/playlist/37i9dQZF1DX6uQnoHESB3u?si=380263b3c853442e
I also love Chillout Daily: https://open.spotify.com/playlist/7ozIozDp260fjNOZy1yzRG?si=66d6c839ec9b458a
You wrote a book called De-coding the Technical Interview. What was the impulse to do it?
I wanted to give the community a manual of the essentials of computer science knowledge to ace the technical interviews. The book covers data structures like stacks, queues, or linked lists, tackles algorithms, and deals with systems design. You'll also learn about the interview process from start to finish, get tips on how to submit an amazing take-home project, or understand how to problem solve. You'll also gain knowledge on the frontend coding skills needed to excel at a frontend interview.

If you could stress one piece of advice on surviving a technical interview, which would it be?
Do not lie your way through an interview. If you don't know the answer to something, just admit it. There's no shame in admitting you don't know the answer to something. There is shame in faking it and pretending like you do know the answer.
What's the single best practice everyone who writes code should follow?
Remember that while you are technically writing code for computers, you're also writing it for humans. Your code should be readable and have as little complexity as possible without sacrificing accessibility or performance.
In addition to the book, you co-host the Ladybug Podcast. What inspired you to enter this field, and what are the podcast's main topics?
We talk about everything tech and career on the podcast, from Java and GraphQL to how to start a business and cross-cultural communication. The podcast is a way for me and my co-hosts to share our experiences in tech, having taken different paths. And I'm really glad for doing it — it has allowed me to meet so many incredible people, learn many new things, and support my dream of teaching.
What pieces of your work are you most proud of?
My technical interview book was a huge feat for me as well as my courses with LinkedIn Learning on building a tech resume. I enjoy creating things that help other people advance their careers, so I'm also proud of my courses with Frontend Masters on design systems and CSS.
***
Follow Emma on Twitter
Kent C. Dodds: Consume, build, and teach — and level up your career
14 min
Kent C. Dodds: Consume, build, and teach — and level up your career
Top Content
Featured Article
Kent C. Dodds
Kent C. Dodds
Even though his bio offers quite a hefty reading, he only applied for one job in his career. The rest came along as he was building his name as a renowned speaker, teacher, and a prolific figure of the open-source community. How did Kent do it? “Commit to creating high-quality content,” he says.


What led you to programming?
I had a friend when I was a teenager who was really into it, and he tried to teach me. But I just couldn't get it — it didn't make any sense to me. So I never really thought I'd get into programming, but I liked computers a lot, and I ended up going to school for electrical engineering. 
Well, that didn't work because I'm not good at math. But right when I started the program, I got a job at a company uploading videos to YouTube and that sort of thing. The work was tedious, so I decided to write a computer program to automate lots of the work I was doing with the knowledge I had about programming. And that was the first spark of things for me to use programming to solve real-world problems. 
What is the most impactful thing you ever did to boost your career? 
Committing to creating high-quality content. That might sound obvious because I'm a full-time educator now, but I would not have gotten my job at PayPal if I hadn't been so active with my blog. In fact, lots of my jobs came out of me being involved in the community around meetups, conferences, or open-source projects. 
How do you choose topics for the content you create, be it for your blog or podcast?
I don't think too much about the content other people are creating. And I don't often consume it. My ideas come from the things that I'm working on, things that I'm learning myself, or — when I was working with a team of developers — the things that I had to remind people of in code reviews regularly. Anytime that I would have a code review comment that was pretty long to describe my position, that was an excellent opportunity for a blog post. Also, if people ask me about a topic regularly, I'll make a blog post rather than answer that question multiple times.


What would be your three tips for engineers to level up their career? 
The number one thing I tell people is to be a nice person. I know that sounds fluffy or silly, but it cannot be overstated. You will get so much further in your career and just in life in general if you're a nice person. That doesn't mean that you take people being jerks lying down, but how you interact with others is out of kindness. You could be the best engineer in the entire world, but if you're not a nice person, you will not reach your full potential or accomplish your goals, whatever they may be.
Second, it's just as important to decide what you are not going to learn as it is to decide what you are going to learn. You could jump into countless things — and there are successful people who are polyglot programmers, but I can't speak to that a whole lot. All I can tell you is that in my experience, focusing on specific things that I want to be truly good at has worked out great for my career. That doesn't mean that I closed myself off to other things. With my website rewrite, I have been doing a lot of dev ops-related work and a lot of back-end stuff that I've typically not been involved in. You want to keep your head up on what's going on outside of what you're doing so that you know what direction to go in when you come across problems you need to solve. However, finding a focus on what you want to be good at has helped me a lot. That way, you feel a little less stressed.
And the third one? 
Learn how to learn effectively. It's a three-step process: you consume, build, and teach. The consumption of newsletters and Twitter and whatever inspires you, but you don't want to spend too much time doing that — implementing it into actually building something matters. This happens naturally if you work at a company, but maybe you're not making the things you want to learn, so you may want to start a side project. The building phase is where you get experience, but you also want to solidify that experience. How? You start teaching. You don't necessarily have to teach it to people, it could be stuffed animals. The goal of the teaching is to retain in your mind what you've learned through the building process.
What are you working on right now? 
The big thing I'm working on right now is a rewrite of my website. It'll be much more than just a developer portfolio — I'll have user accounts, and there'll be fun things that you can do with it. And because it's more than just a website, I'm using Remix, a new cool framework in the React ecosystem. I'm also working on updating my material on TestingJavaScript.com and a TypeScript course as well. 
So, whatever I'm working on, it ends up resulting in lots of opportunities for content.


Do you have some rituals that keep you focused and goal-oriented? 
I have a notepad where I keep all of my notes of what I'm going to do for the day so that when I'm checking things off, I'm not distracted notifications. I've tried apps for that, and that does not work well for me. 
I also am a firm believer in inbox zero. I have my work inbox and my personal inbox, and I keep them both at zero. And I kind of use that as a to-do list. 
And if I'm not feeling excited about working for some reason, I will often hop on my Onewheel, which is an electric skateboard that only has one giant wheel in the middle. It's just a total blast, and I'll hop on that with my backpack and a charger, and I'll go to a Starbucks or a park just to declutter my mind.
What things in the React universe are you excited about right now?
React version 18 is coming out soon. The experimental version is out there, and it's fun to play with. I'm just really thrilled that it's no longer a concurrent mode but concurrent features that you can opt into. Cool things like that will enable React server components in the future. 
But the biggest thing I'm excited about is Remix. That's huge. It eliminates a lot of problems that are solved well other tools, but when I'm using Remix, I don't have those problems, so I don't need those clusters.
You already said that teaching is an integral part of the learning process, and you stand your word since you're also a full-time educator. What inspired you to enter this field?
I have been a teacher for as long as I can remember. I grew up in a church where you talk in front of your peers from a very young age, and my mom was an elementary school teacher, so teaching has just always been a part of me. 
I really just enjoy sharing what I'm learning with others. As far as teaching technical topics, I gave my first workshop when I was still a student at Brigham Young University. With my fellow, we taught how to use AngularJS, and I got Firebase to sponsor pizza so they would show up, and that was pretty fun.
Then I started teaching on the side at egghead.io right after I'd graduated. That was when I first got a paycheck for teaching. And I realized that teaching could be quite lucrative and support my family and me as a full-time endeavor. So I did it — I quit my job. I'm a very risk-averse person, so I'd done teaching as a side hustle for four years just to verify that I could make this work.
When TestingJavaScript was released, and I got that paycheck, I realized that I didn't need my PayPal salary anymore. I could just focus my daytime on teaching and give my evenings back to my family, which was a nice trait.


Apart from that, how has teaching impacted your career? 
Earlier I mentioned that pretty much all of my jobs came because I was perceived as an expert. After the first job, where I was an intern and then converted into full-time, I never applied to another. I worked for four different companies, and they wouldn't have recruited me if they didn't know who I was and what I was doing. My content is how they knew who I was — I just made it easy for them to find me. Teaching made that impact. It made my career. 
We talked about React and Remix. Are there any other open-source projects that you'd recommend keeping an eye on or contributing to?
I have some myself. React Testing Library is probably the biggest one that people are familiar with. And if React isn't your jam, then other framework versions of the testing library. 
React Query is also really popular. If you're using Remix, you don't need it, but if you're not, I strongly advise using React Query cause it's a stellar, fantastic library, and Tanner Linsley, the creator, is a stellar and fantastic person. 
What pieces of your work are you most proud of? 
Probably the biggest thing I've ever done is EpicReact.Dev. It has helped tens of thousands of people get really good at React, improve their careers and make the world a better place with the skills that they develop. My whole mission is to make the world a better place through quality software, and I feel like I've done that best with Epic React. 
There are things that I've built at other companies that are still in use, and I'm proud of those cause they've stood the test of time, at least these last few years. But of everything, I think Epic React has made the biggest impact.
***
Follow Kent on Twitter and listen to his favorite Spotify playlist
Los Átomos de Jotai Son Simplemente Funciones
React Day Berlin 2022React Day Berlin 2022
22 min
Los Átomos de Jotai Son Simplemente Funciones
Top Content
Jotai es una biblioteca de gestión de estado. La hemos estado desarrollando principalmente para React, pero conceptualmente no está vinculada a React. En esta charla, veremos cómo funcionan los átomos de Jotai y aprenderemos sobre el modelo mental que deberíamos tener. Los átomos son una abstracción agnóstica del marco para representar estados, y básicamente son solo funciones. Comprender la abstracción de átomo ayudará a diseñar e implementar estados en sus aplicaciones con Jotai

Workshops on related topic

React, TypeScript y TDD
React Advanced Conference 2021React Advanced Conference 2021
174 min
React, TypeScript y TDD
Top Content
Featured WorkshopFree
Paul Everitt
Paul Everitt
ReactJS es extremadamente popular y, por lo tanto, ampliamente soportado. TypeScript está ganando popularidad y, por lo tanto, cada vez más soportado.

¿Los dos juntos? No tanto. Dado que ambos cambian rápidamente, es difícil encontrar materiales de aprendizaje precisos.

¿React+TypeScript, con los IDEs de JetBrains? Esa combinación de tres partes es el tema de esta serie. Mostraremos un poco sobre mucho. Es decir, los pasos clave para ser productivo, en el IDE, para proyectos de React utilizando TypeScript. En el camino, mostraremos el desarrollo guiado por pruebas y enfatizaremos consejos y trucos en el IDE.
Masterclass Web3 - Construyendo Tu Primer Dapp
React Advanced Conference 2021React Advanced Conference 2021
145 min
Masterclass Web3 - Construyendo Tu Primer Dapp
Top Content
Featured WorkshopFree
Nader Dabit
Nader Dabit
En esta masterclass, aprenderás cómo construir tu primer dapp de pila completa en la blockchain de Ethereum, leyendo y escribiendo datos en la red, y conectando una aplicación de front end al contrato que has desplegado. Al final de la masterclass, entenderás cómo configurar un entorno de desarrollo de pila completa, ejecutar un nodo local e interactuar con cualquier contrato inteligente usando React, HardHat y Ethers.js.
Fundamentos de Remix
React Summit 2022React Summit 2022
136 min
Fundamentos de Remix
Top Content
Featured WorkshopFree
Kent C. Dodds
Kent C. Dodds
Construir aplicaciones web modernas está lleno de complejidad. Y eso solo si te molestas en lidiar con los problemas
¿Cansado de conectar onSubmit a las API del backend y asegurarte de que tu caché del lado del cliente se mantenga actualizada? ¿No sería genial poder utilizar la naturaleza global de CSS en tu beneficio, en lugar de buscar herramientas o convenciones para evitarla o trabajar alrededor de ella? ¿Y qué te parecería tener diseños anidados con una gestión de datos inteligente y optimizada para el rendimiento que simplemente funciona™?
Remix resuelve algunos de estos problemas y elimina completamente el resto. Ni siquiera tienes que pensar en la gestión de la caché del servidor o en los conflictos del espacio de nombres global de CSS. No es que Remix tenga APIs para evitar estos problemas, simplemente no existen cuando estás usando Remix. Ah, y no necesitas ese enorme y complejo cliente graphql cuando estás usando Remix. Ellos te tienen cubierto. ¿Listo para construir aplicaciones más rápidas de manera más rápida?
Al final de esta masterclass, sabrás cómo:- Crear Rutas de Remix- Estilizar aplicaciones de Remix- Cargar datos en los cargadores de Remix- Mutar datos con formularios y acciones
Vue3: Desarrollo Moderno de Aplicaciones Frontend
Vue.js London Live 2021Vue.js London Live 2021
169 min
Vue3: Desarrollo Moderno de Aplicaciones Frontend
Top Content
Featured WorkshopFree
Mikhail Kuznetcov
Mikhail Kuznetcov
Vue3 fue lanzado a mediados de 2020. Además de muchas mejoras y optimizaciones, la principal característica que trae Vue3 es la API de Composición, una nueva forma de escribir y reutilizar código reactivo. Aprendamos más sobre cómo usar la API de Composición de manera eficiente.

Además de las características principales de Vue3, explicaremos ejemplos de cómo usar bibliotecas populares con Vue3.

Tabla de contenidos:
- Introducción a Vue3
- API de Composición
- Bibliotecas principales
- Ecosistema Vue3

Requisitos previos:
IDE de elección (Inellij o VSC) instalado
Nodejs + NPM
Desarrollando Blogs Dinámicos con SvelteKit & Storyblok: Una Masterclass Práctica
JSNation 2023JSNation 2023
174 min
Desarrollando Blogs Dinámicos con SvelteKit & Storyblok: Una Masterclass Práctica
Top Content
Featured WorkshopFree
Alba Silvente Fuentes
Roberto Butti
2 authors
Esta masterclass de SvelteKit explora la integración de servicios de terceros, como Storyblok, en un proyecto SvelteKit. Los participantes aprenderán cómo crear un proyecto SvelteKit, aprovechar los componentes de Svelte y conectarse a APIs externas. La masterclass cubre conceptos importantes incluyendo SSR, CSR, generación de sitios estáticos y despliegue de la aplicación usando adaptadores. Al final de la masterclass, los asistentes tendrán una sólida comprensión de la construcción de aplicaciones SvelteKit con integraciones de API y estarán preparados para el despliegue.
De vuelta a las raíces con Remix
React Summit 2023React Summit 2023
106 min
De vuelta a las raíces con Remix
Featured Workshop
Alex Korzhikov
Pavlik Kiselev
2 authors
La web moderna sería diferente sin aplicaciones ricas del lado del cliente respaldadas por potentes frameworks: React, Angular, Vue, Lit y muchos otros. Estos frameworks se basan en JavaScript del lado del cliente, que es su núcleo. Sin embargo, existen otros enfoques para el renderizado. Uno de ellos (bastante antiguo, por cierto) es el renderizado del lado del servidor completamente sin JavaScript. Descubramos si esta es una buena idea y cómo Remix puede ayudarnos con ello?
Prerrequisitos- Buen entendimiento de JavaScript o TypeScript- Sería útil tener experiencia con React, Redux, Node.js y escribir aplicaciones FrontEnd y BackEnd- Preinstalar Node.js, npm- Preferimos usar VSCode, pero también se pueden utilizar IDE en la nube como codesandbox (otros IDE también están bien)