Skip to content

Add manual open/close functionality to LOConnection component #125

@bradley-erickson

Description

@bradley-erickson

There is currently not a way to tell lo_modules.LOConnection to open or close. Currently, the functionality is handled in on initialization and when the data_scope value changes. We ought to have some property that can be called to manually open or close the socket.

Likely best to create new props and check if they changed in componentDidUpdate.

Update 10/28/24:
We are slowly transitioning away from Dash in Python toward using NextJS instead. We have a new LO Connection component in lo_event/lo_assess/LOConnection (#180) which should use this feature instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersjavascriptPull requests that update Javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions