-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
chore(all): convert to TS #374
Conversation
Wow! @bigopon You are a beast! This is awesome. How should we proceed. I'm not sure if I have a ton of time to review every line. I trust your work though :) Is there anything in particular we should look at, any concerns, details left to polish up? |
@EisenbergEffect The plan is like this: in in Write some doc for this. Details to look at: There are two way to toggle
|
About the conversion, it's not that much of a big deal I think. Most typings are still kept any for safety reasons. Mostly it's the build/tests/development flow that are cleaner now |
@bigopon Instead of using the generic terms "legacy behavior" can we instead make the property name more explicit in what it's doing? For example |
@EisenbergEffect that sounds good to me. Will need to adjust router view accordingly. What about view only composition, do we want to auto traverse parent, or throw? |
For view-only composition, remind me what happens with the binding context. Does it get nothing if it doesn't traverse? That doesn't seem right. Is there a reason we would treat this scenario differently? |
It points to the Which I think it will automatically inherit owning view of |
If it inherits the owning view, that sounds ideal. |
@EisenbergEffect here are the two skipped tests
I just realized when adding some integration tests for compose, that For this, I think I'll have to add something in templating. |
@bigopon I'd rather just delete the code than comment it out usually. Was there a strong argument for doing it this way? |
@EisenbergEffect Removed |
@EisenbergEffect one of throttle tests is failing, its' probably non-deterministic timing related, we can fix that later. |
Beside conversion, also add ability to configure
Compose
behavior to not inherit binding context by default via entryconfigure
function:It's based on @jdanyow 's comment here #222 (comment)
Though I'm not sure when
Compose
is configured to not inherit binding context, it should throw or just silently inherit when composed with view only instruction.Besides that, adjust build, so now distribution will be a single file with sourcemap enabled. Something like this
@EisenbergEffect @jdanyow @jods4 @fkleuver
@fkleuver What should i adjust circle CI of this to?
@huochunpeng
resolves #332
resolves #300
resolves #321