Comments (2)
One gotcha here is merge conflict handling. It's entirely possible that the outer scope defines some method with the same name as one which the inner scope would like to have. scoped
throws an error on merge conflicts, because it's likely programmer error there. However, in this case, it would be forming an implicit contract with the owner of the outer scope that they don't use methods of that name. This breaks encapsulation, so I would suggest that merge conflict errors should only occur for methods that are passed in simultaneously, not between an inner scope's method definitions and an outer scope's method definitions.
from fusion.
Implemented - just need to write docs.
from fusion.
Related Issues (20)
- Change design of Observer to allow pooling listeners HOT 1
- Reuse scopes from primitive computed objects HOT 3
- Test what an ideal scope pool size is HOT 1
- Integrate under-documented APIs into tutorials
- Explore safer interpretations of `deriveScope` HOT 1
- Spring setters don't work immediately after construction
- Memoise special key generation functions
- Poor typechecking for use functions with UsedAs<T>
- Standard set of reactive graph shapes for testing HOT 1
- Write tutorial for `Safe` expressions
- Broken default props link (still uses .lua)
- "The class type 'TextLabel' has no assignable property 'TextColor3'" when using ForValues (and ForPairs) HOT 1
- Do not rollback errors HOT 6
- Remove all `:destroy()` methods from Fusion HOT 5
- Drop 0.x from the version number HOT 1
- `Spring` scales velocity across speed changes HOT 1
- ForValues inconsistency HOT 1
- Decouple TweenInfos from Tweens
- Don't allow varadics in Scope constructors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusion.