Skip to content

Add useConstructor hook #7

@drebrez

Description

@drebrez

This is a hook that ensures a callback is executed only once during the creating of the component, see example here https://github.com/neolution-ch/neolution-dotnet-templates/blob/main/templates/neo-react/Whitelabel.React.UI.Client/src/hooks/useConstructor.ts

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