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

refactor(ivy): allow unnecessary symbols to be tree-shaken out of hello world #22838

Closed
wants to merge 2 commits into from

Conversation

kara
Copy link
Contributor

@kara kara commented Mar 17, 2018

This PR allows some unnecessary symbols to be tree-shaken out of hello world by:

  • using renderComponentOrTemplate instead of tick for first change detection from root (we don't need to loop up to the root component since we know we are there)
  • splitting up directiveCreate into a base version for root and an extended version for everywhere else

@kara kara changed the title refactor(ivy): allow tick and deps to be tree-shaken refactor(ivy): remove unnecessary symbols from hello world Mar 17, 2018
@kara kara added action: review The PR is still awaiting reviews from at least one requested reviewer refactoring Issue that involves refactoring or code-cleanup comp: ivy target: major This PR is targeted for the next major release labels Mar 17, 2018
@kara kara requested a review from mhevery March 17, 2018 03:34
@mary-poppins
Copy link

You can preview a1d6d57 at https://pr22838-a1d6d57.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 8353b5c at https://pr22838-8353b5c.ngbuilds.io/.

@mhevery
Copy link
Contributor

mhevery commented Mar 17, 2018

I think this needs to be rebased on master to get it green?

@kara
Copy link
Contributor Author

kara commented Mar 17, 2018

presubmit

@kara kara removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 17, 2018
@mary-poppins
Copy link

You can preview eb71548 at https://pr22838-eb71548.ngbuilds.io/.

@kara kara added the action: merge The PR is ready for merge by the caretaker label Mar 17, 2018
@kara kara changed the title refactor(ivy): remove unnecessary symbols from hello world refactor(ivy): allow unnecessary symbols to be tree-shaken out of hello world Mar 17, 2018
@mhevery mhevery closed this in 1612985 Mar 18, 2018
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
mhevery pushed a commit to mhevery/angular that referenced this pull request May 12, 2018
mhevery pushed a commit to mhevery/angular that referenced this pull request May 12, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes refactoring Issue that involves refactoring or code-cleanup target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants