The Phlex::Element class makes creating simple Phlex components easier

I'm not sure what the trade-offs are though!

https://gist.github.com/bradgessler/07da71fdaff90f0948cd1a00abe5a87b#file-phlex_element-rb