react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Allow to chain custom transformers when resolving asset sources

Open rshest opened this issue 1 year ago • 3 comments

Summary:

Changelog:

[Internal]-

This adds an ability to have multiple custom source transformers when resolving asset sources, which is beneficial in some scenarios.

The transformers are chained, being executed in order they are registered, until one of them returns a non-null value.

If none does, then the default one is returned.

Differential Revision: D53472320

rshest avatar Feb 06 '24 12:02 rshest

This pull request was exported from Phabricator. Differential Revision: D53472320

facebook-github-bot avatar Feb 06 '24 12:02 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D53472320

facebook-github-bot avatar Feb 06 '24 14:02 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D53472320

facebook-github-bot avatar Feb 06 '24 15:02 facebook-github-bot

This pull request has been merged in facebook/react-native@665c40046079a69f1ccd6bc7fe3d56e81a9488f7.

facebook-github-bot avatar Feb 07 '24 12:02 facebook-github-bot