rockerest’s avatarrockerest’s Twitter Archive—№ 13,544

  1. …in reply to @gr2m
    gr2m I recommend building a base Component class and using it for a while. You would write lifecycle methods, template rendering, etc. Once done, you'll be able to see how you don't *need* tools, BUT, I suggest LitElement eventually because it's a better version of what you build! :)
    1. …in reply to @rockerest
      gr2m I hadn't even heard of LitElement, but when I eventually swapped the guts of my base class with it, I barely even had to change anything... we had both built the same lifecycle methods, so all my existing components kept working! :D
      1. …in reply to @rockerest
        gr2m Definitely do still recommend struggling with doing it all yourself and writing a naive template renderer, etc. to get a feel for what's possible.