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): break apart stylingMap into styleMap and classMap instructions #30293

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented May 7, 2019

This patch breaks up the existing elementStylingMap into
elementClassMap and elementStyleMap instructions. It also breaks
apart hostStlyingMap into hostClassMap and hostStyleMap
instructions. This change allows for better tree-shaking and reduces
the complexity of the styling algorithm code for [style] and [class]
bindings.

…ructions

This patch breaks up the existing `elementStylingMap` into
`elementClassMap` and `elementStyleMap` instructions. It also breaks
apart `hostStlyingMap` into `hostClassMap` and `hostStyleMap`
instructions. This change allows for better tree-shaking and reduces
the complexity of the styling algorithm code for `[style]` and `[class]`
bindings.
@matsko matsko requested a review from mhevery May 7, 2019 01:19
@matsko
Copy link
Contributor Author

matsko commented May 7, 2019

@matsko matsko added target: major This PR is targeted for the next major release action: merge The PR is ready for merge by the caretaker labels May 7, 2019
@matsko matsko marked this pull request as ready for review May 7, 2019 17:03
@matsko matsko requested review from a team as code owners May 7, 2019 17:03
@kara kara added the comp: ivy label May 7, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 7, 2019
Copy link
Member

@alxhub alxhub left a comment

Choose a reason for hiding this comment

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

👍 for the compiler

@kara kara closed this in be8fbac May 7, 2019
@matsko matsko deleted the styling_refactor_pr0 branch May 7, 2019 21:00
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
…ructions (angular#30293)

This patch breaks up the existing `elementStylingMap` into
`elementClassMap` and `elementStyleMap` instructions. It also breaks
apart `hostStlyingMap` into `hostClassMap` and `hostStyleMap`
instructions. This change allows for better tree-shaking and reduces
the complexity of the styling algorithm code for `[style]` and `[class]`
bindings.

PR Close angular#30293
@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 15, 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 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

5 participants