Skip to content

Only update dynamic subtrees#490

Merged
Rich-Harris merged 19 commits intomasterfrom
gh-472
Apr 17, 2017
Merged

Only update dynamic subtrees#490
Rich-Harris merged 19 commits intomasterfrom
gh-472

Conversation

@Rich-Harris
Copy link
Copy Markdown
Member

This builds on top of #489. Blocks representing subtrees that only have static content don't get update methods — less code, and less work.

@Rich-Harris
Copy link
Copy Markdown
Member Author

Snuck in a couple of other improvements, such as getting rid of the tmp variable

@Rich-Harris
Copy link
Copy Markdown
Member Author

Am getting a bit carried away fixing other things that I see, since these changes touch a few different parts of the codebase — am going to merge this and #489 in before it turns into a complete rewrite...

@Rich-Harris Rich-Harris merged commit fc31d39 into master Apr 17, 2017
@Rich-Harris Rich-Harris deleted the gh-472 branch April 17, 2017 19:16
@Rich-Harris Rich-Harris mentioned this pull request Apr 17, 2017
@Conduitry
Copy link
Copy Markdown
Member

2e7a429 *blinks* Well I just learned something new about the order things happen in javascript.

@Rich-Harris
Copy link
Copy Markdown
Member Author

I know right! Was pretty excited when I realised we could do that

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants