Introduction
Getting Started
1. Install WebComp:
2. Import WebComp:
3. Create your component:
4. Register your custom tag:
5. Use it!
Can I use stateless functional components?
Options
Notes on JSX
Using a Babel preset (easiest)
By defining a JSX pragma
Using .babelrc
.babelrcWhat browsers are supported?
FAQ
I'm morally opposed to JSX. How can I use this?
I'm morally opposed to Webpack and bundling! How can I use this?
Can I use template tags and slots?
Do I need React to use this?
Can I have content inside of my custom elements?
Can I have custom elements inside of my custom elements?
I am morally supportive of imperative DOM manipulations. Will this still work?
Can I use React library XYZ to do ZYX?
How do I port my single page app to WebComp?
Last updated
Was this helpful?