Skip to content
#

virtual-dom

Here are 303 public repositories matching this topic...

Fordi
Fordi commented Oct 22, 2020

For the most part this just works, but functions within tagged markup get weird indent assertions, e.g.,

        ${collection.map((item) => {
          const { prop1, prop2 } = workWith(item);  // eslint: expected indentation of 4 but found 10 (indent)
          return html`  // eslint: expected indentation of 4 but found 10 (indent)
            <${Widget} prop1=${prop1} prop2=${prop2} />
neo
tobiu
tobiu commented Feb 2, 2021

Flagging this issue as "good first issue" & "help wanted", since it is an easy one.

Move the logic inside the promise callback of dragStart() into a new method.

        Neo.main.DomAccess.getBoundingClientRect({
            id: me.getDragElementRoot().id
        }).then(rect => {
            offsetX = data.clientX - rect.left;
            offsetY = data.clientY - rect.top;

      
Switzerland

🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.

  • Updated Feb 8, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the virtual-dom topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the virtual-dom topic, visit your repo's landing page and select "manage topics."

Learn more