Project Details
This is the continuation of the translation of the project, but until now I work in this, many people are translating it in a disorderly way and it is impossible to work on it.
I'll let them finish it
The relay is the new project that i want translation, but what is relay?
Relay is a JavaScript framework for building data-driven React applications.
Declarative: Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
Colocation: Queries live next to the views that rely on them, so you can easily reason about your app. Relay aggregates queries into efficient network requests to fetch only what you need.
Mutations: Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling. - Relay Github
I have invited all the people who can help this project because there are many languages that have not yet been translated, there is still a lot of work to be done.
Profiles
https://facebook.github.io/relay/
https://code.facebook.com/projects/631039950383301/relay/
https://crowdin.com/project/relay
https://github.com/facebook/relay
https://crowdin.com/project/relay/es-ES#
My profile
I quote because from the university I was taught to investigate and give credit to the people who deserve it and same to the creator
Links related to the translation
Source Language
English
Translated Language
Spanish
Number Of Words
(my 1346+1166) - 30125
Number of words translated on this contribution: 1166
Proofread Words
0
Previous translation on the same project
Relay – Spanish Translation project part 1 ( 5.26% 1346 words translated)
Number of words translated on the project before this report (if any): 1346
Sample
Guía de conversión
Actualiza progresivamente tu aplicación Relay Classic en estos pasos:
Paso 0: Instalar Relay v1.0
Instale la última versión de Relay de la guía de introducción.
Paso 1: Convertir progresivamente a Relay Compat
Comience a convertir sus componentes y mutaciones para usar las API de Relay Modern del módulo 'react-relay/compat' (createFragmentContainer, createRefetchContainer, createPaginationContainer, commitMutation). Será más fácil ir desde los componentes de la hoja hacia arriba. Los scripts de conversión deberían hacer que este paso sea menos tedioso.
Si un fragmento usa variables que se determinan en tiempo de ejecución, ver abajo.
Paso 2: introducir
Una vez que todos los componentes y mutaciones se hayan convertido para usar las API de Relay Modern, conviértelos en QueryRenderer en lugar de usar Relay.Renderer o Relay.RootContainer. Puede suministrar Store desde 'react-relay/classic' como el environment para la mayoría de los casos.
Paso 3: introducir el tiempo de ejecución de Relay Modern
Una vez que algunas o todas sus vistas están usando QueryRenderer, Store desde 'react-relay/classic' podría reemplazarse con un RelayModernEnvironment. Tenga en cuenta que RelayModernEnvironment y Store no comparten ningún dato. Es posible que desee mantener este paso en espera hasta que las vistas que tienen una superposición de datos significativa puedan conmutarse al mismo tiempo. Este paso es lo que desbloquea las ganancias de rendimiento para su aplicación. Las aplicaciones que usan el RelayModernEnvironment consiguen enviar identificaciones de consultas persistentes en lugar de las cadenas de consulta completas al servidor, así como una normalización y procesamiento de datos mucho más optimizados.
Paso 4: Limpie reemplazando el Relay Compat con Relay Modern.
Cambie las referencias 'react-relay/compat' en su aplicación a 'react-relay'. Esto es más un paso de limpieza que evita que su aplicación extraiga código 'react-relay/classic' innecesario.
Nota: Determinación de valores variables en tiempo de ejecución
Actualmente, solo hay una forma admitida de establecer el valor inicial de una variable de forma dinámica: utilizando variables globales definidas en la consulta que incluye el fragmento (o mediante variables en el QueryRenderer).
Por ejemplo, si currentDate se establece en QueryRenderer variables, entonces $currentDate se puede referenciar en cualquier fragmento incluido en el QueryRenderer query.
Si está utilizando createRefetchContainer, su método refetch también puede actualizar estas variables para representarlas con nuevos valores.
Posted on Utopian.io - Rewarding Open Source Contributors