Closed inteldon closed 2 years ago
It's possible that the values are being updated, but the connection is not being initiated after the values are updated. I checked and console.log(ed) the updated options, but the <Connector>
component might not be updating. Just a thought.
If that's the case, how can we make the connector attempt a new connection based on the new data?
Note: I have resolved the URL through working around the problem (string splits and joins) so as far as I'm concerned it's working for me.
Closing because there's no response from the developers.
I'm trying to do the following in React with the mqtt-react-hooks:
This is an example of the function that I'm using (note the comments for additional info)
My observations are:
Without these features this plugin cannot scale, so can you please guide me on how to use the variables for this hook, whether through a json config or a server side function call?
Thank you