Skip to content

How to call api on button clicked? #94

@kkcy

Description

@kkcy

Is your feature request related to a problem? Please describe.
Browsed through both react-nodegui and nodegui, but couldn't find any example.
Tried using axios/http on button click and keyboard listeners but the app crashed with

FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope

It worked fine in componentDidMount though.

Describe the solution you'd like
Examples or guides for networking

Describe alternatives you've considered

Additional context

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