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

Make setNativeProps a no-op with Fabric renderer #15094

Merged
merged 2 commits into from
Mar 29, 2019

Conversation

TheSavior
Copy link
Member

We aren't sure if we want to implement setNativeProps for Fabric. We are making it a no-op with a warning so we can catch these use cases and migrate them to other approaches. Many of the calls are JS driven animations which we are converting to use the native driver.

@sizebot
Copy link

sizebot commented Mar 12, 2019

Details of bundled changes.

Comparing: 103378b...4b4694a

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactNativeRenderer-dev.js +0.1% 0.0% 617.76 KB 618.14 KB 132.22 KB 132.25 KB RN_FB_DEV
ReactNativeRenderer-prod.js 0.0% 0.0% 245.47 KB 245.53 KB 42.92 KB 42.92 KB RN_FB_PROD
ReactNativeRenderer-profiling.js 0.0% 0.0% 251.7 KB 251.76 KB 44.27 KB 44.28 KB RN_FB_PROFILING
ReactNativeRenderer-dev.js +0.1% 0.0% 617.67 KB 618.05 KB 132.19 KB 132.21 KB RN_OSS_DEV
ReactNativeRenderer-prod.js 0.0% 0.0% 245.48 KB 245.54 KB 42.92 KB 42.92 KB RN_OSS_PROD
ReactNativeRenderer-profiling.js 0.0% 0.0% 251.72 KB 251.77 KB 44.27 KB 44.28 KB RN_OSS_PROFILING
ReactFabric-dev.js -0.2% -0.2% 608.19 KB 606.99 KB 129.9 KB 129.61 KB RN_FB_DEV
ReactFabric-prod.js -0.3% -0.2% 239.57 KB 238.95 KB 41.72 KB 41.62 KB RN_FB_PROD
ReactFabric-profiling.js -0.3% -0.2% 244.89 KB 244.27 KB 43.09 KB 42.99 KB RN_FB_PROFILING
ReactFabric-dev.js -0.2% -0.2% 608.09 KB 606.9 KB 129.85 KB 129.57 KB RN_OSS_DEV
ReactFabric-prod.js -0.3% -0.2% 239.57 KB 238.95 KB 41.71 KB 41.61 KB RN_OSS_PROD
ReactFabric-profiling.js -0.3% -0.2% 244.9 KB 244.28 KB 43.09 KB 42.98 KB RN_OSS_PROFILING

Generated by 🚫 dangerJS

@TheSavior TheSavior requested a review from bvaughn March 14, 2019 18:19
Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bvaughn bvaughn merged commit 1b94fd2 into facebook:master Mar 29, 2019
@TheSavior TheSavior deleted the setnativeprops-noop branch March 29, 2019 22:57
@aleclarson
Copy link
Contributor

aleclarson commented Jun 28, 2020

@TheSavior Is there a public discussion about the removal of setNativeProps?

You may want to chime in on #18499.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants