Sibelius Seraphini
Sibelius Seraphini
running babel transformer to generate i18n resource can be very slow in huge codebases we should run babel transformer in parallel and them join the resources found in a single...
Options (e.g. for pluralization, or adding context/screenshots for translators) are specified like this: const thisManyApples = t('{user} ate {count} apples', {count: 3, user: '@sseraphini '})
from this: ```jsx validationSchema: Yup.object().shape({ name: Yup.string().required('Name is required), email: Yup.string().email('Invalid email'), }), ``` to: ```jsx validationSchema: ({ t }) => Yup.object().shape({ name: Yup.string().required(t('name_is_required')), email: Yup.string().email(t('invalid_email')), }), ``` - [...
great package tks! src/debug/res for instance
package and readme are outdated https://github.com/dwmkerr/app-splash/blob/setup/package.json#L7 it should point to `app-splash` instead of `app-icon`
snippets
it'd be cool to have a list of common and useful snippets that do basic transforms like adding a new import moving one import to another and so on
it would be nice to be able to use this GraphQLs with Relay as well
https://github.com/niieani/typescript-vs-flowtype#conditional-typing You can the same, check this helper: https://gist.github.com/miyaokamarina/934887ac2aff863b9c73283acfb71cf0 ```jsx type $If = $Call< & ((true, Then, Else) => Then) & ((false, Then, Else) => Else), X, Then, Else, >;...
specifying generic parameters during call-time is available https://github.com/facebook/flow/releases/tag/v0.72.0 > Explicit type arguments in new and call expressions, e.g., f(x).