GithubHelp home page GithubHelp logo

Comments (14)

fabian-hiller avatar fabian-hiller commented on July 20, 2024 2

Will update the guide and check the code next week. Its on my list.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024 1

v0.23.0 is available

from modular-forms.

juanpmarin avatar juanpmarin commented on July 20, 2024 1

@fabian-hiller everything compiles in my project now, thanks a lot!

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

Thank you for the hint! I will update the guide.

from modular-forms.

juanpmarin avatar juanpmarin commented on July 20, 2024

Wating for this upgrade too :)

from modular-forms.

juanpmarin avatar juanpmarin commented on July 20, 2024

@fabian-hiller do you have to make changes in the library or can it be fixed just by changing the way the library is invoked?

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

I need to look into this. Some people have reported runtime errors with the new Qwik version.

from modular-forms.

brandonpittman avatar brandonpittman commented on July 20, 2024

I need to look into this. Some people have reported runtime errors with the new Qwik version.

Using this at work—no runtime errors, just type errors when building the app.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

I think I have fixed everything. I will release a new version soon.

from modular-forms.

juanpmarin avatar juanpmarin commented on July 20, 2024

@fabian-hiller I'm declaring ref like this for one of my components:

ref?: QRL<(element: Element) => void>;

Because I need to explicitly call ref from an useTask$ context, but types are not compatible:

Types of property 'ref' are incompatible.
      Type '(element: Element) => void' is not assignable to type 'QRL<(element: Element) => void>'.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

Please try to remove QRL:

ref?: (element: Element) => void;

from modular-forms.

juanpmarin avatar juanpmarin commented on July 20, 2024

If I remove QRL, the type error gets fixed in the Field, but breaks in the useTask$

When referencing "props" inside a different scope (useTask$), Qwik needs to serialize the value, however "props.ref" is a function, which is not serializable.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

Ok. I will try to change the types to QRL<…>.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on July 20, 2024

v0.23.1 is available

from modular-forms.

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.