Giter Club home page Giter Club logo

Comments (3)

matschik avatar matschik commented on May 17, 2024

The goal in the snippet named "Dom ref" is not to show how to focus an input.
The goal here is to show how to make a dom ref compared to other frameworks.

Component Party is focused on clarity when comparing with other frameworks, not over-optimization.

from component-party.dev.

brunnerh avatar brunnerh commented on May 17, 2024

I am aware of all that, the problem I have with the current code is that it gives a false impression/is not representative of code one should write. I also did not have clear way of fixing that, which is why I opened the issue.

from component-party.dev.

matschik avatar matschik commented on May 17, 2024

It just shows how to do a dom ref. So the problem is solved.
We don't need to go further. When you are learning Svelte from React or Vue knowledge for example, your proposition would be very confusing to make a dom ref even if it's interesting.

from component-party.dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.