Most voted "web-component" questions
10 questions
Sort by count of
-
32
votes1
answer3647
viewsWhat is shadow DOM?
When I was reading about some Javascript frameworks, for example the React, I read the expression a few times shadow gift in some articles. It even seems that it is possible, in Chrome console…
-
16
votes2
answers829
viewsWhat is Svelte JS?
Nowadays, much is said about the web Components and custom Elements, and along with big names like Angular, React, Vue and Polymer, I recently heard the name Svelte JS. What is Svelte JS? It is…
-
15
votes2
answers1147
viewsWhat is Stencil JS?
Nowadays, much is said about the web Components and custom Elements, and along with big names like Angular, React, Vue and Polymer, the name has recently begun to appear Stencil JS. What is Stencil…
-
4
votes2
answers461
viewsWhat is the Riot.js?
I was reading about some frameworks and libraries for front-end UI development and came across the Riot.js. Giving a quick read on page of the library (in English), I concluded superficially that…
-
2
votes1
answer36
viewsIs React able to automatically remove eventListeners from Refs when the component is destroyed?
I have an input from a web components that to receive the value inputado, I must create a Ref for that input and add a eventListener, respectively: const nameInputRef = useRef(null) const [userName,…
-
1
votes1
answer42
viewsText editor table is not writing in the database
I have a text editor in a project, but when someone uses the table tool in the editor it doesn’t save the table to the database, it only saves the table content. And when the download is done the…
-
1
votes0
answers54
viewsThreshing variables in mustache
People the mustache promises to do wonders but it’s not my case. The Moodle is PHP but the themes now use mustache, but the screen code generated by the mustache is something like this: <nav…
-
1
votes1
answer54
viewsWhy isn’t my web site being created/rendered?
I’m trying to create a button following the documentation Webcomponents however mine button is not being rendered on the page. I created a simple button extending the resources of a…
-
0
votes1
answer165
viewsHow to create components from another base component
The idea is to create a component for each type of input, for example, InputPassword for <input type="password">, however, in order to reuse code, most of these components have an equal basis,…
-
0
votes1
answer38
viewsInsert content into Webcomponents template
I’m doing a Webcomponent and I came across a situation: Content is not inside the component template. If you inspect below, the "Alert Test" is positioned below the template instead of inside. I…