Skip to content

Add Dynamic Import when avalible. #121

Closed
@masters3d

Description

@masters3d

Dynamic import would allow us to be able to import the exercise.examplebut it that doesn't exist then we could just import exercise. This would help in development.
https://github.com/tc39/proposal-dynamic-import

This would be similar to what we already do in the Objective-C track

#if __has_include("AllergiesExample.h")
# import "AllergiesExample.h"
# else
# import "Allergies.h"
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    chore 🔧Meta related task such as build, test, linting, maintainers.json etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions