Skip to content

Need a method to choose JS engine. #360

Closed
@holmesconan

Description

@holmesconan

I am trying to develop React.NET project under macOS. The VroomJS need to be compiled and I am working on it.

As I reading the source of React.NET, it already add Chakra as a candidate JS engine, but the GetEngine method just tried each factory and return the first that works. I have tried to install JavaScriptEngineSwitcher and add it to IServiceCollection, but the ReactEnvironment remain try the VroomJS engine. I don't find how to replace the factory in the TinyIoC container.

I thought we can have a option for the chosen of JS engine. That's more convenient.

I am working on building my VroomJS engine on macOS. If that works, I could try to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions