Open 2zH opened 7 years ago
Browser support of polyfills: >= IE 11 Env test: http://html5test.com/
babel-core v7.0.0-alpha.17
babel-preset-stage-0-alpha.17
babel-preset-env: v2.0.0-alpha.17
Note: It won't include stage-x plugins. env will support all plugins in what we consider the latest version of JavaScript (by matching what we do in babel-preset-latest).
Installation:
npm install \
babel-core@next \
babel-preset-env@next \
babel-preset-stage-0@next -D
Stage-0:
Stage-1
Stage-2
Stage-3
>>>
Life Cycle
when the element is created or upgraded
when the element is inserted into a document, including into a shadow tree
when the element is removed from a document
when an attribute is changed, appended, removed, or replaced on the element. Only called for observed attributes.
when the element is adopted into a new document
[idea] Allow HTML Element attributes to accept any type of value, not just strings: https://github.com/w3c/webcomponents/issues/519
The difference between Custom Elements and React JSX
~TodoList~
~- [ ] Polyfills~ ~- [ ] Framework~ ~- [ ] Bundler~ ~- [ ] Web Components with React and Vue~ ~- [ ] Browser Support~
~To be continue......~ Sorry...