slimjs / slim.js

Fast & Robust Front-End Micro-framework based on modern standards

Home Page:http://slimjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appreciate your feedback for custom element reactions diagram

AndyOGo opened this issue · comments

I just released an adapted version of the interactive react lifecycle methods diagram for custom element reactions:
https://andyogo.github.io/custom-element-reactions-diagram/

If you have time, I would appreciate your feedback very much.

Look's good. I would split the constructor part into two cases: When an element is created by using some innerHTML of a wrapping element: the custom-element will have children, and when using it with document.createElement('my-elem') or new MyElement() which does not allow to populate anything (including attributes)