Skip to content

Feature? lazy dialogs! #55

@mariusGundersen

Description

@mariusGundersen

Here is a feature which is already possible today, which is pretty neat:

const MyDialog = createCallable(lazy(() => import('./MyDialog')));

This makes a lazy-loadable dialog which is only loaded when it's needed. Very useful!

This could be simplified a bit, for example if there was a createLazyCallable:

const MyDialog = createLazyCallable(() => import('./MyDialog'));

Not sure if this is necessary to include in the code or just in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions