Regular html is not a reusable component but this one is. You can't encapsulate regular html, you can encapsulate this one.
Then it is not html.
It is built on html which is a core part of the web making it a web component.
It is a web component as a concept.
Regular html is not a reusable component but this one is. You can't encapsulate regular html, you can encapsulate this one.
Then it is not html.
It is built on html which is a core part of the web making it a web component.
It is a web component as a concept.
All arguments I have received are all about implementation details but not the real concepts.
If it works directly in the browser, it is a web component.
All arguments I have received are all about implementation details but not the real concepts.
If it works directly in the browser, it is a web component.
facebook.github.io/jsx/
Though it uses web standards, it operates like JSX.
Maybe we'll all know what to call it later. My focus now is to make it the best of both worlds — web component and JSX.
Or is it qualified to be a web component?
facebook.github.io/jsx/
Though it uses web standards, it operates like JSX.
Maybe we'll all know what to call it later. My focus now is to make it the best of both worlds — web component and JSX.
Or is it qualified to be a web component?
It meets all JSX criteria.
Or what is the standard definition of JSX?
It meets all JSX criteria.
Or what is the standard definition of JSX?
But for now, you're right.
But for now, you're right.
It uses vanilla JavaScript.
That means, it is vanilla JavaScript. Since Angular and Vue are JavaScript frameworks, it works with them.
I will create demos with them soon.
It uses vanilla JavaScript.
That means, it is vanilla JavaScript. Since Angular and Vue are JavaScript frameworks, it works with them.
I will create demos with them soon.
Now, I have built JSX interpreter that works in browsers.
So there is another way to do it to achieve all the functionalities of the web component in browsers and servers
Now, I have built JSX interpreter that works in browsers.
So there is another way to do it to achieve all the functionalities of the web component in browsers and servers
You're saying the custom component won't reflect in the DOM.
But judging from the fundamental description from the MDN, web component is about reusability, encapsulation and co.
What you referenced is the current implementation details of web component.
Koras.jsx is another.
You're saying the custom component won't reflect in the DOM.
But judging from the fundamental description from the MDN, web component is about reusability, encapsulation and co.
What you referenced is the current implementation details of web component.
Koras.jsx is another.
You can use it like <Articles articles=${article} />. Isn't this a custom element?
It works directly in browsers with *no build step*.
The web component we have today is just an implementation of this description.
You can use it like <Articles articles=${article} />. Isn't this a custom element?
It works directly in browsers with *no build step*.
The web component we have today is just an implementation of this description.
I am working on its docs but you can check the stuff I built with it.
Blog —
Demo: codingnninja.github.io/sapablog
source: github.com/codingnninja...
Music player —
Demo: codingnninja.github.io/lovePlay
source: github.com/codingnninja...
I am working on its docs but you can check the stuff I built with it.
Blog —
Demo: codingnninja.github.io/sapablog
source: github.com/codingnninja...
Music player —
Demo: codingnninja.github.io/lovePlay
source: github.com/codingnninja...
The secret to doing a great job is to love what you do.
The secret to doing a great job is to love what you do.
// manage a and b state
function add(a, b) {
return a + b;
}
// first state
const five = add(2, 3);
// another state
const four = add(2, 2);
The function helps us manage the changes — the state of a and b — to get expected result.
// manage a and b state
function add(a, b) {
return a + b;
}
// first state
const five = add(2, 3);
// another state
const four = add(2, 2);
The function helps us manage the changes — the state of a and b — to get expected result.