Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <Transform> component #277

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Add <Transform> component #277

merged 1 commit into from
Apr 26, 2020

Conversation

vadimdemedes
Copy link
Owner

This component allows transforming a string representation of React components
before they are written to output. It's not a new functionality, previously it
was exposed via undocumented unstable__transformChildren prop in and
components.

I think it has been proven to be stable and there are definitely use cases
for it, so it's time to let anyone leverage this feature.

Now deprecated unstable_transformChildren prop is still going to be available
and work as before to maintain backwards compatibility. However, it will be
removed in future major versions.

This component allows transforming a string representation of React components
before they are written to output. It's not a new functionality, previously it
was exposed via undocumented `unstable__transformChildren` prop in <Box> and
<Text> components.

I think it has been proven to be stable and there are definitely use cases
for it, so it's time to let anyone leverage this feature.

Now deprecated `unstable_transformChildren` prop is still going to be available
and work as before to maintain backwards compatibility. However, it will be
removed in future major versions.
@vadimdemedes vadimdemedes merged commit 9ed46a5 into master Apr 26, 2020
@vadimdemedes vadimdemedes deleted the transform branch April 26, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant