mcjazzyfunky
mcjazzyfunky
[Edit: fixed the URLs for the demos several times] > What's the fully requested functionality? I basically meant that: - In analogy of React, both ref objects `{ current: null...
Sorry, I have mixed up some of the URLs in my previous comment - have fixed it.
Sure, I can provide a PR if you like. I guess the changes in superfine will look something like the following (please ignore the comments on top of the file):...
@jorgebucaran Could you please tell me, what shall be done with the unit test for this change? Do you want to continue to use `twist` as test library? Seems like...
Let's assume you have a fancy component library which is based on `superfine`. Now let's assume you want to implement a component `VideoPlayer`. This `VideoPlayer` shall have the usual control...
> Do you have an example using ref with your patched version of Superfine to animate removing an element from the DOM? @jorgebucaran Sorry, I completely forgot to answer. You...
@whaaaley Actually in some cases a ref function suits better in other cases a ref object. Normally I use ref objects. Actually it's just one line of code to support...
> Do you have an example using ref with your patched version of Superfine to animate removing an element from the DOM? @jorgebucaran Not really sure whether this is want...
> What's the difference between refs and the old oncreate, onupdate, and onremove lifecycle events? A different, but out-of-the-box better useable API for basically the same thing. Refs may be...
Just my 2 cents: - If you need a pure ECMAScript solution then maybe first decide whether you really prefer hyperscipt over a template literal based solution: ```javascript return h('div.box',...