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

Remove useCreateElement flag #9873

Merged
merged 2 commits into from
Jun 7, 2017
Merged

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Jun 6, 2017

This removes the flag that used to force Stack into HTML generation mode even for client side.
It should make our CI runs a bit faster.

Note that we didn’t rely on this in the bundles for a long time.
The only real use of this flag was the HTML generation test that we run on CI.

However it no longer represents the way forward (server renderer was separated from Stack), and we have a new suite that covers HTML generation specifically that's independent of this flag.

I still keep the actual HTML generation codepath in the DOMStack, so that we can keep using the Stack bundle. It's just not covered by the normal Stack tests anymore (but it's still covered by new integration tests).

@@ -12,10 +12,6 @@ if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
COMMANDS_TO_RUN+=('./scripts/circleci/test_fiber.sh')
fi

if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can we reuse this node now for something else? Should we?

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

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

LGTM

@gaearon gaearon merged commit 34927ea into facebook:master Jun 7, 2017
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.

3 participants