phlex/lib/phlex/html.rb:444:in `method_added': 👋 Redefining the method `Components::Layout#_style` is not a good idea. (Phlex::NameError)
from phlex/lib/phlex/elements.rb:35:in `alias_method'
from phlex/lib/phlex/elements.rb:35:in `register_element'
from phlex/lib/phlex/elements.rb:10:in `class_eval'
from phlex/lib/phlex/elements.rb:10:in `register_element'
from phlex.fun/components/layout.rb:5:in `<class:Layout>'
from phlex.fun/components/layout.rb:4:in `<module:Components>'
from phlex.fun/components/layout.rb:3:in `<top (required)>'
This pull request removes the manual register of the
<style>
element incomponents/layout.rb
phlex
now also supports<style>
elements since they were added in0.2.0
via https://github.com/joeldrapper/phlex/pull/123I guess with the introduction of https://github.com/joeldrapper/phlex/pull/449 this now started failing with: