diff --git a/website/pages/blog.es-ES.mdx b/website/pages/blog.es-ES.mdx index 506db137d5..a2e2ba9ddc 100644 --- a/website/pages/blog.es-ES.mdx +++ b/website/pages/blog.es-ES.mdx @@ -1,6 +1,6 @@ --- title: Blog -description: The latest updates and releases from the Million.js team. +description: Las últimas actualizaciones y lanzamientos del equipo de Million.js. --- import { getPagesUnderRoute } from 'nextra/context'; @@ -15,7 +15,7 @@ export function BlogHeader() { Blog

- The latest updates and releases from the Million.js team. + Las últimas actualizaciones y lanzamientos del equipo de Million.js.

); @@ -24,7 +24,7 @@ export function BlogHeader() { export function BlogIndex() { const { locale, defaultLocale } = useRouter(); const blogArticles = filterRouteLocale( - getPagesUnderRoute("/blog"), + getPagesUnderRoute('/blog'), locale, defaultLocale, ) @@ -39,17 +39,17 @@ export function BlogIndex() {
{page.meta?.title || page.frontMatter?.title || page.name} -

- {page.frontMatter?.description}{" "} +

+ {page.frontMatter?.description}{' '} - {"Read more →"} + {'Leer más →'}

diff --git a/website/pages/blog/_meta.es-ES.json b/website/pages/blog/_meta.es-ES.json index 95197e0284..67a995943a 100644 --- a/website/pages/blog/_meta.es-ES.json +++ b/website/pages/blog/_meta.es-ES.json @@ -8,10 +8,10 @@ "typesetting": "article" } }, - "3": "Announcing Million.js 3.0", - "million-beyond-speed": "Million Beyond 'Speed'", + "3": "Anunciando Million.js 3.0", + "million-beyond-speed": "Million mas allá de la 'Velocidad'", "million-v2.5.3": "Million.js v2.5.3", "million-v2.5.1": "Million.js v2.5.1", - "behind-the-block": "Behind the block()", + "behind-the-block": "Detrás de block()", "virtual-dom": "Virtual DOM: Back in Block" } diff --git a/website/pages/blog/million-3.es-ES.mdx b/website/pages/blog/million-3.es-ES.mdx index 83652a45d3..bda539e63f 100644 --- a/website/pages/blog/million-3.es-ES.mdx +++ b/website/pages/blog/million-3.es-ES.mdx @@ -1,58 +1,58 @@ --- -title: 'Announcing Million.js 3.0' -date: DEC 7, 2023 -description: Updated performance for both compiler and runtime +title: 'Anunciando Million.js 3.0' +date: 7 DEC, 2023 +description: Rendimiento actualizado para ambos, compilador y tiempo de ejecución ---
-# Announcing Million 3.0 +# Anunciando Million 3.0 - [AIDEN BAI](https://aidenybai.com) DEC 7 2023 + [AIDEN BAI](https://aidenybai.com) 7 DEC 2023
--- -After many months of hard work, I'm excited to announce the release of Million 3.0. Within the next week, we'll roll out an official published release. Soon, you'll be able to get a number of new features and improvements to the library. +Después de vatios meses de duro trabajo, estoy emocionado de anunciar el lanzamiento de Million 3.0. Dentro de la próxima semana, lanzaremos una versión publicada oficialmente. Pronto, podrás obtener una serie de nuevas funciones y mejoras en la biblioteca. -Even though we're changing how things work under the hood, Million 3.0 should be a drop-in replacement for everyone. You can upgrade to the latest version without any code changes. +Incluso si cambiamos la forma en que funcionan las cosas internamente, Million 3.0 debería ser un reemplazo directo para todos. Puedes actualizar a la última versión sin ningún cambio al código. -If you haven't tried Million.js yet, you can [check out the documentation](/docs/quickstart) to get started. Or, just run `npx million@latest` to get started. Million.js is a compiler that turns your existing React code into a hyper-optimized virtual DOM. It's a drop-in replacement for React that's faster and smaller. +Si no has probado Million.js aún, puedes [consultar la documentación](/docs/quickstart) para comenzar. O simplemente ejecuta `npx million@latest` para comenzar. Million.js es un compilador que convierte tu código React existente en un DOM virtual hiper-optimizado. Es un reemplazo directo para React que es más rápido y más pequeño. -## What's new? +## ¿Qué es lo nuevo? -### Faster build time +### Tiempo de compilación mas rápido -This release includes a complete overhaul of the compiler to be more efficient, readable, and scalable. Our initial benchmarks show a huge improvement from the previous version: ~34% faster (3.2s -> 2.1s) for initial compile and ~82% (1.1s -> 0.2s) for code changes on a medium sized Next.js project. +Este lanzamiento incluye una revisión completa del compilador para que sea más eficiente, legible y escalable. Nuestras pruebas iniciales muestran una gran mejora desde la versión anterior: ~34% más rápido (3.2s -> 2.1s) para la compilación inicial y ~82% (1.1s -> 0.2s) para los cambios de código en un proyecto Next.js de tamaño mediano. -We've also added a legitimate test suite to ensure that the compiler is working as expected. This will help us catch bugs and regressions in the future. +Tmabién hemos agregado una suite de pruebas legítima para asegurarnos de que el compilador funcione como se esperaba. Esto nos ayudará a detectar errores y regresiones en el futuro. -This allows us to support more features and optimizations in the future without comprimising developer experience. Look out for new diagnostic tools, sidecar, and AI gadgets soon 👀 +Esto nos permite dar soporte a más funciones y optimizaciones en el futuro sin comprometer la experiencia del desarrollador. Esté atento a herramientas de diagnóstico, sidecar y gadgets de IA pronto 👀 -### Faster runtime +### Timpo de ejecución más rápido -Million 3.0 refactors how hydration is done. Instead of replacing DOM on component boundaries, Million.js now can pinpoint hydrate – which results in significantly faster hydration times within blocks. +Million 3.0 refactoriza cómo se realiza la hidratación. En lugar de reemplazar el DOM en los límites del componente, Million.js ahora puede señalar la hidratación, lo que resulta en tiempos de hidratación significativamente más rápidos dentro de los blocks. -We're also working on removing the dependency on `` elements for mounting blocks – for many projects, this is a significant reduction in unnecessary DOM nodes, improving reconciliation, and reducing memory usage. +También estamos trabajando en eliminar la dependencia de los elementos `` para montar blocks; para muchos proyectos, esta es una reducción significativa en los nodos DOM innecesarios, mejorando la reconciliación y reduciendo el uso de memoria. -With these changes, we're seeing an initial ~100% improvement (2s -> 1s) in hydration times (4x CPU slowdown) and much less `` element generation for a medium sized Next.js project. +Con estos cambios, estamos viendo una mejora inicial de ~100% (2s -> 1s) en los tiempos de hidratación (4x ralentización del CPU) y una generación de elementos `` mucho menor para un proyecto Next.js de tamaño mediano. -## Migrating to 3.0 +## Migrando a 3.0 -Migration is easy. Just update your dependencies to the latest version of Million.js. Just run `npm install million@latest` (or your favorite package manager) to get started. +La migración es fácil. Simplemente actualiza tus dependencias a la última versión de Million.js. Únicamente ejecuta `npm install million@latest` (o tu administrador de paquetes favorito) para comenzar. -## The road ahead +## El camino por delante -The future of Million.js is to be the de-facto performance toolset for the web. In the coming weeks, we'll be shipping some extremely powerful and novel tools to help you build faster websites. +El futuro de Million.js es ser el conjunto de herramientas de rendimiento por defecto para la web. En las próximas semanas, enviaremos algunas herramientas extremadamente poderosas y novedosas para ayudarte a crear sitios web más rápidos. -Along with the new features, we'll be shipping a new website and documentation to help you get started. We'll also be shipping a new kitchen sink to show off some of the new features. +Junto con las nuevas funciones, estaremos lanzando un nuevo sitio web y documentación para ayudarte a comenzar. También enviaremos un nuevo kitchen sink para mostrar algunas de las nuevas funciones. -## Acknowledgements +## Agradecimientos -Thank you to everyone who has [contributed to Million.js](https://github.com/aidenybai/million/contributors). +Gracias a todos los que han [contribuido a Million.js](https://github.com/aidenybai/million/contributors). -Big shout out to [@toby_solutions](https://twitter.com/toby_solutions) for helping maintain the website and kitchen sink, [@felpix\_](https://twitter.com/felpix_) for running the Million.js Twitter account, and [@nisargptel](https://twitter.com/nisargptel) for making the trailer video. +Un gran reconocimiento a [@toby_solutions](https://twitter.com/toby_solutions) por ayudar a mantener el sitio web y el kitchen sink, [@felpix\_](https://twitter.com/felpix_) por manejar la cuenta de Twitter de Million.js, y a [@nisargptel](https://twitter.com/nisargptel) por hacer el video del trailer. -Should you have any questions, feel free to reach out to me on [Twitter](https://twitter.com/aidenybai) or [GitHub](https://github.com/aidenybai/million). +Si tienes cualquier pregunta, no dudes en contactarme en [Twitter](https://twitter.com/aidenybai) o [GitHub](https://github.com/aidenybai/million). -Enjoy 🎉 +Disfruta 🎉 diff --git a/website/pages/blog/million-v2.5.1.es-ES.mdx b/website/pages/blog/million-v2.5.1.es-ES.mdx index 295dead2d0..188727e61e 100644 --- a/website/pages/blog/million-v2.5.1.es-ES.mdx +++ b/website/pages/blog/million-v2.5.1.es-ES.mdx @@ -1,7 +1,7 @@ --- title: 'Million.js v2.5.1' -date: JUL 21, 2023 -description: Virtualizing the Virtual DOM +date: 21 JUL, 2023 +description: Virtualizando el Virtual DOM --- import Image from 'next/image'; @@ -10,19 +10,18 @@ import { Tweet } from 'react-tweet'; import { CarbonAds } from '../../components/ad'; import { Bounties } from '../../components/bounties'; -
# Million.js v2.5.1 - [AIDEN BAI](https://aidenybai.com) JUL 21 2023 + [AIDEN BAI](https://aidenybai.com) 21 JUL 2023
--- -Million.js v2.5.1 brings a ton of new features and bug fixes! Make sure to upgrade your Million.js version to latest: +Million.js v2.5.1 trae un montón de nuevas características y correcciones de errores! Asegúrate de actualizar tu versión de Million.js a la última: {/* prettier-ignore */} @@ -45,24 +44,24 @@ Million.js v2.5.1 brings a ton of new features and bug fixes! Make sure to upgra -Let's dig straight into it: +Vamos a profundizar en ello: -## Virtualization +## Virtualización -Last week, I released a sneak peek of Million.js virtualizing in React. This week, I'm happy to announce that virtualization is now available in Million.js via TanStack Virtual! You can check out the virtualizing guide [here](/docs/virtualization) to get started. +La semana pasada, publiqué un avance de Million.js virtualizando React. Esta semana, me complace anunciar que la virtualización ahora está disponible en Million.js a través de TanStack Virtual! Puedes consultar la guía de virtualización [aquí](/docs/virtualization) para comenzar. - Want to compare Million.js vs React virtualization? Check out [this - demo!](https://million-tanstack-virtual.vercel.app/) + ¿Quieres comparar la virtualización de Million.js contra la de React? Echa un + vistazo a [¡esta demo!](https://million-tanstack-virtual.vercel.app/) -## Analytics +## Analíticas -Million.js supports a new `analytics` option, where you can hook into the compiler and get insight into blocks. Here's a basic example of how you can use it: +Million.js soporta una nueva opción de `analíticas`, donde puedes engancharte al compilador y obtener información sobre los bloques. Aquí tienes un ejemplo básico de cómo puedes usarlo: ```js const ComponentBlock = block(Component, { @@ -71,12 +70,12 @@ const ComponentBlock = block(Component, { ((traversals - data.traversals) / traversals) * 100, ); console.log( - `Million.js is reducing reconciliation by ${percentImprovement}%`, + `Million.js esta reduciendo la reconciliación en un ${percentImprovement}%`, ); }, }); ``` -## More +## Más -You can view the full release here: [https://github.com/aidenybai/million/releases/tag/v2.5.1](https://github.com/aidenybai/million/releases/tag/v2.5.1) +Puedes ver el lanzamiento completo aquí: [https://github.com/aidenybai/million/releases/tag/v2.5.1](https://github.com/aidenybai/million/releases/tag/v2.5.1) diff --git a/website/pages/blog/million-v2.5.3.es-ES.mdx b/website/pages/blog/million-v2.5.3.es-ES.mdx index 0784e4465f..5196d5b9a3 100644 --- a/website/pages/blog/million-v2.5.3.es-ES.mdx +++ b/website/pages/blog/million-v2.5.3.es-ES.mdx @@ -1,7 +1,7 @@ --- title: 'Million.js v2.5.3' -date: JUL 31, 2023 -description: From manual to automatic +date: 31 JUL, 2023 +description: De manual a automático --- import Image from 'next/image'; @@ -10,24 +10,23 @@ import { Tweet } from 'react-tweet'; import { CarbonAds } from '../../components/ad'; import { Bounties } from '../../components/bounties'; -
# Million.js v2.5.3 - [AIDEN BAI](https://aidenybai.com) JUL 31 2023 + [AIDEN BAI](https://aidenybai.com) 31 JUL 2023
--- -## Automatic Mode +## Modo Automático -This week, we introduced [Automatic Mode](/docs/automatic), a new feature that automatically analyzes components for you and figures out which ones to optimize. +Esta semana, introdujimos el [Modo Automático](/docs/automatic), una nueva función que analiza automáticamente los componentes y descubre cuáles optimizar. -## More +## Más -You can view the full release here: [https://github.com/aidenybai/million/releases/tag/v2.5.3](https://github.com/aidenybai/million/releases/tag/v2.5.3) +Puedes ver la lista completa de cambios aquí: [https://github.com/aidenybai/million/releases/tag/v2.5.3](https://github.com/aidenybai/million/releases/tag/v2.5.3) diff --git a/website/pages/foundation.es-ES.mdx b/website/pages/foundation.es-ES.mdx index fb8c73a161..6e6f66790f 100644 --- a/website/pages/foundation.es-ES.mdx +++ b/website/pages/foundation.es-ES.mdx @@ -1,19 +1,19 @@ --- -title: Million.js Foundation -description: The Million.js Foundation is an independent, non-profit organization dedicated to stewarding the Million.js project, nurturing the Million.js ecosystem, and supporting the set of maintainers governing and developing the project. +title: Fundación Million.js +description: La Fundación Million.js es una organización independiente sin ánimo de lucro, dedicada a la gestión del proyecto Million.js, nutrir el ecosistema de Million.js, y dar soporte al conjunto de mantenedores que rigen y desarrollan el proyecto. --- import Image from 'next/image'; -# Million.js Foundation +# Fundación Million.js -The Million.js Foundation (Fiscally sponsored by Hack Club – EIN: 81-2908499) is an independent, non-profit organization dedicated to stewarding the Million.js project, nurturing the Million.js ecosystem, and supporting the set of maintainers governing and developing the project. +La Fundación Million.js (Fiscalmente patrocinado por Hack Club – EIN: 81-2908499) es una organización independiente sin ánimo de lucro, dedicada a la gestión del proyecto Million.js, nutrir el ecosistema de Million.js, y dar soporte al conjunto de mantenedores que rigen y desarrollan el proyecto. -It's important to note that the Million.js Foundation is not legally associated with the Million.js project. The Million.js Foundation is a separate entity from the Million.js project. +Es importante notar que la Fundación Million.js no está legalmente asociada con el proyecto Million.js. La Fundación Million.js es una entidad separada del proyecto Million.js. -Million.js was initially created by [Aiden Bai](https://aiden.mov) in 2021 as a [research project](https://dl.acm.org/doi/10.1145/3555776.3577683). Since then, it has grown into a community-driven project with over 40 contributors. +Million.js fué creado inicialmente por [Aiden Bai](https://aiden.mov) en 2021 como un [proyecto de investigación](https://dl.acm.org/doi/10.1145/3555776.3577683). Desde entonces, ha crecido hasta convertirse en un proyecto impulsado por la comunidad con más de 40 contribuidores. -Looking to join us? **Say hi 👋 to the Million.js crew:** +¿Quieres unírtenos? **Di hola 👋 al equipo Million.js:**
@@ -21,33 +21,32 @@ Looking to join us? **Say hi 👋 to the Million.js crew:** -## Design Assets +## Recursos de Diseño -Feel free to use the Million.js logo and other assets in your project. But please -don't modify the logo, and don't use the logo to represent your project or -product. +Sientete libre de usar el logotipo de Million.js y otros recursos en tu proyecto. Pero por favor +no lo modifiques o uses para representar tu proyecto o producto. -| Name | Description | Preview | -| :---------: | :----------------------------------------------: | :---------------------------------------------------------------------------------: | -| Icon | Useful for favicons, app icons, link icons, etc. | favicon | -| Logo | Full Million.js logo | logo | -| Social Card | The Million.js social card | ![Million.js banner](/banner.png) | +| Nombre | Descripción | Vista Previa | +| :------------: | :------------------------------------------------------: | :---------------------------------------------------------------------------------: | +| Icono | Útil para favicons, iconos de app, iconos de links, etc. | favicon | +| Logotipo | Logotipo completo de Million.js | logo | +| Tarjeta Social | Tarjeta social de Million.js | ![Million.js banner](/banner.png) | -## Acknowledgments +## Agradecimientos -Million takes heavy inspiration from the following projects: +Million está fuertemente inspirado en los siguientes proyectos: - [`blockdom`](https://github.com/ged-odoo/blockdom) ([Géry Debongnie](https://github.com/ged-odoo)) - Thank you to Géry pioneering the concept of "blocks" in the virtual DOM. Many parts of the Million.js codebase either directly or indirectly derive from his work. + Gracias a Géry por ser el pionero del concepto de "blocks" en el virtual DOM. Mucho del código fuente de Million.js deriva directa o indirectamente de su trabajo. - [`voby`](https://github.com/vobyjs/voby) ([Fabio Spampinato](https://github.com/fabiospampinato)) - The Million.js "template" concept is derived from Voby's `template()` API. -- [Hack the Wave](https://hackthewave.com) ([Melinda Chang](https://github.com/melindachang)) for their homepage. -- [`react`](https://react.dev) and [`turbo`](https://turbo.build) for their documentation. Many parts of the current Million.js documentation are grokked and modified from theirs. -- [`ivi`](https://github.com/localvoid/ivi), [Preact](https://github.com/preactjs/preact), [and more](https://krausest.github.io/js-framework-benchmark/2021/table_chrome_96.0.4664.45.html) + El concepto de "template" de Million.js se deriva de la API `template()` de Voby. +- [Hack the Wave](https://hackthewave.com) ([Melinda Chang](https://github.com/melindachang)) por su página principal. +- [`react`](https://react.dev) y [`turbo`](https://turbo.build) por su documentación. Algunas partes de la documentación actual de Million.js son comprendidas y modificadas a partir de la suya. +- [`ivi`](https://github.com/localvoid/ivi), [Preact](https://github.com/preactjs/preact), [y más](https://krausest.github.io/js-framework-benchmark/2021/table_chrome_96.0.4664.45.html) -Million is being used at companies like [Wyze](https://wyze.com) and [Dimension](https://dimension.dev), as well as open source work like [Quartz](https://github.com/jackyzha0/quartz), [TinyPages](https://github.com/Borrus-sudo/tinypages), [and more](https://github.com/aidenybai/million/network/dependents). +Million esta siendo utilizado en compañías como [Wyze](https://wyze.com) y [Dimension](https://dimension.dev), así como en proyectos de código abierto como [Quartz](https://github.com/jackyzha0/quartz), [TinyPages](https://github.com/Borrus-sudo/tinypages), [y más](https://github.com/aidenybai/million/network/dependents). -## Sponsors +## Patrocinadores

@@ -61,6 +60,6 @@ Million is being used at companies like [Wyze](https://wyze.com) and [Dimension]

-## License +## Licencia -Million is MIT-licensed open-source software. +Million es software de código abierto bajo la licencia MIT.