Skip to content

Own our fiddles so we can update them more easily #2639

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

Merged
merged 1 commit into from
Dec 3, 2014

Conversation

zpao
Copy link
Member

@zpao zpao commented Dec 2, 2014

The fiddles in Thinking in React were using 0.5. That would have been fine on it's own but then #2491 came along and just updated the API usage without updating the version. And then the base fiddle were @vjeux's. This brings them all under one roof and then we can share responsibility for updating.

@zpao zpao mentioned this pull request Dec 2, 2014
@zpao
Copy link
Member Author

zpao commented Dec 2, 2014

Btw, I looked into using a gist or git repo for these instead. It's possible for that to work but only in a couple cases and definitely not for embeds. I was hoping to make it easier to keep things updated but this is the best we'll get for now.

zpao added a commit that referenced this pull request Dec 3, 2014
Own our fiddles so we can update them more easily
@zpao zpao merged commit b3cd299 into facebook:master Dec 3, 2014
zpao added a commit that referenced this pull request Dec 3, 2014
Own our fiddles so we can update them more easily
zpao added a commit that referenced this pull request Dec 3, 2014
@zpao zpao deleted the own-jsfiddle branch April 16, 2015 16:42
josephsavona added a commit that referenced this pull request May 15, 2024
Implements the optimization described in the previous PR: if we know that a 
scope's dependency will _always_ invalidate (it is not memoized and it is 
guaranteed to be a new object if the instruction executes, such as an array or 
object literal), then we can prune that scope. The invalidation is transitive: 
we track always-invalidating types from within scopes, and if their scope gets 
invalidated we prune downstream scope that depend on them. 

## Test Plan 

Tested via #2639 - see https://fburl.com/everpaste/3e3hjpjs. 91 files change 
output due to reactive scopes which would always invalidate due to always 
invalidating dependencies.
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