Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Adds abstractEffectsInAdditionalFunctions to the React component reconciler #1320

Closed
wants to merge 1 commit into from

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Jan 10, 2018

This adds the abstractEffectsInAdditionalFunctions features to the React component reconciler, so we can better handle bail-outs in React components due to abstract value effects. This PR also adds a test to demonstrate this working – which currently fails right now.

Copy link
Contributor

@sebmarkbage sebmarkbage left a comment

Choose a reason for hiding this comment

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

lgtm once it passes :)

@@ -113,6 +114,10 @@ function runTestSuite(outputJsx) {
await runTest(directory, "simple.js");
});

it.only("Simple 2", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

rm only

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@sebmarkbage is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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

Successfully merging this pull request may close these issues.

3 participants