Git Product home page Git Product logo

Comments (5)

chrisdholt avatar chrisdholt commented on June 13, 2024 1

Hi @chrisdholt ,

Thanks for the quick response. I am using @microsoft/fast-element": "1.12.0 currently Seems to be latest one. Published 9 months ago?

Yep - The directive is in that specific version though, it's only in the Beta as part of the v2 release. I am looking to propose promoting that to stable soon-ish. With that said, I'm not sure what it would take to backport that off the top of my head.

from fast.

chrisdholt avatar chrisdholt commented on June 13, 2024

Thanks @ontoneio - Which version are you on of Fast Element? I'll check FE1, but if I recall that was added for the latest beta (which won't reflect yet in the docs).

from fast.

ontoneio avatar ontoneio commented on June 13, 2024

Hi @chrisdholt ,

Thanks for the quick response. I am using @microsoft/fast-element": "1.12.0 currently
Seems to be latest one. Published 9 months ago?

from fast.

ontoneio avatar ontoneio commented on June 13, 2024

If it helps the InlineTemplateDirective is being used in this function:

export function staticallyCompose<TSource = any, TParent = any>(
    item: StaticallyComposableHTML<TSource, TParent>
): CaptureType<TSource, TParent> {
    if (!item) {
        return InlineTemplateDirective.empty;
    }
    if (typeof item === "string") {
        return new InlineTemplateDirective(item);
    }
    if ("inline" in item) {
        return item.inline();
    }
    return item;
}

I'm not exactly sure what this function accomplishes, but if I can replace it's functionality I think I will be alright.
So any insight on this function would be greatly helpful.

from fast.

janechu avatar janechu commented on June 13, 2024

Looks like this is solved in v2, I'll close this for now, let us know after launch of @microsoft/fast-element v2 (coming very soon) if this is still an issue.

from fast.

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.