List of events to load after the component did mount.
Optionalkey?: stringThe key where the response data are stored in the renderData function.
Name of the event.
Optionalparams?: anyParameters for the event.
Optionalupdate?: stringUpdate event. On this event is registered listener for updating the component.
OptionalloaderIndicates if the loader should have block prop set to true.
OptionalloaderLoader size.
OptionalonFunction called after the data load before the renderData. The data can be modified here.
Loaded data. The event responses are accessible thought the key defined in the events or by the event name.
OptionalonFunction called if the error occured before the renderError.
The error returned from the socket.
OptionalonFunction called before the socket events execution.
Function called for data rendering.
Loaded data. The event responses are accessible thought the key defined in the events or by the event name.
OptionalrenderFunction called for error rendering.
The error returned from the socket.
Reference to the component.
OptionaltookIndicates if the took info is disabled in dev mode.
Interface for DataComponent props.