Uh oh!
There was an error while loading. Please reload this page.
fix: Refactor DOMElement - #266
Conversation
bf00479 to
4ec3462Comparec16cece to
b4f5e59ComparealexanderGugel
commented
Jun 12, 2015
@michaelobriena What can I do to make this less controversial? E.g. I didn't change any user facing APIs. Is there anything else here that would need to be resolved? |
alexanderGugel
commented
Jun 19, 2015
This is still something that really needs to happen IMO, since the DOMElement in its current state doesn't handle a lot of cases correctly and there is also no reason why users shouldn't be able to do |
575a3f1 to
3c2d336ComparealexanderGugel
commented
Jun 19, 2015
I uncommented the tests for now. I still need to adjust them to use the |
alexanderGugel
commented
Jun 29, 2015
There are some nasty merge conflicts due to |
3c2d336 to
e04d8a6ComparealexanderGugel
commented
Jun 30, 2015
@DnMllr Thoughts? |
alexanderGugel
commented
Jul 1, 2015
@DnMllr Could you review this, please? |
alexanderGugel
commented
Jul 7, 2015
@DnMllr Any thoughts on this? |
* No longer keep track of unnecessary state (e.g. uiEvents) * Fix onMount * Allow adding the DOMElement via Node#addComponent instead of DOMElement constructor * Improve (basically rewrite) test suite * Allow recycling of DOMElement * Store state in external Spec (consistent with Node) * Make DOMElement#getValue consistent with spec naming conventions (e.g. styles/ id) * Add missing getter functions * Fix documentation * Obsolete/ Remove DOMElement#draw DOMElement#init (users called it explicitly due to confusion) * Fix return values described in the docs (make methods chainable) * Properly reset ElementCache when elements are being reused * Generalize dismounting: preserve DOMElement spec * Reset properties, attributes etc. onDismount
39942c0 to
7f47a0bComparealexanderGugel
commented
Jul 9, 2015
@DnMllr Could you please review this if possible? Thanks. |
alexanderGugel
commented
Jul 14, 2015
@DnMllr I rebased this a couple of times now. I'm just gonna leave this open for now and wait for the review. |
alexanderGugel
commented
Jul 20, 2015
@DnMllr Could you have a look over/ review this? Any thoughts? |
alexanderGugel
commented
Jul 21, 2015
@michaelobriena update The implementation of render size in the DOMElement changed in the mean time. I'm looking into it right now. |
trusktr
commented
Sep 2, 2015
Please, please, please, can you guys merge this sometime soon? |
trusktr
commented
Sep 2, 2015
Hmmm, I have an idea: I'll merge this into http://github.com/infamous/engine and test it, then publish that on NPM (infamous-engine) if it fixes things. |
trusktr
commented
Sep 2, 2015
The community and I would greatly appreciate if you guys spent all your time right now fixing bugs, not making new features, not making new API changes, not planning other libraries or frameworks. Just fixing all the bugs we have. It doesn't make sense to move forward with a boatload of bugs at hand. |
jd-carroll
commented
Aug 20, 2016
This PR works well |
constructor
(e.g. styles/ id)
explicitly due to confusion)
Simple example of one of the things that was broken:
Before: https://api-te.famo.us/codemanager/v1/containers/fe4b52ef-9d0b-4f71-9368-e52d22625c6b/share
A lot of stuff was just broken.
Please review @DnMllr