Mitch VanDuyn
Mitch VanDuyn
This is actually closed buts it cludgy. The real fix is: rails/webpacker#2237 but no action on that front. So moving this post launch just to keep it alive.
try `params.tip.render` This may fix it..
it is removed from the outer buffer automatically when it is passed as a param. We have to do it this way to allow for native components to easily accept...
Sure that makes sense, but there is code to automatically remove the element when it's first passed as a parameter. That should be working in this case...
Also sorry, originally I said adding .render would fix it. That's only partially true. .render is needed to render the element, but the bug is that it should already be...
All this applies I guess only to Opal components, which go through rendering context. I think the point of the original issue is we should apply .as_node and .to_n to...
OKAY! I got it now (you probably knew this, but I was missing the point...) In this case we have the element `tip` being generated one layer *outside* where it...
Really nice... I propose we add a config switch `Hyperloop.config.visible_assets` that is assigned either nil, (none), true (all) a pattern (which must match) , an array of strings (subdirectories of...
I just looked at https://github.com/izaurio/js_assets why not just use that? You said it was complicated... do you mean internally. The API looks straight forward.
https://www.justinweiss.com/articles/creating-easy-readable-attributes-with-activerecord-enums/