mqtt-react-hooks
mqtt-react-hooks copied to clipboard
ReactJS library for Pub/Sub communication with an MQTT broker using Hooks
hi i need to subscribe 2 topics in at a time. so i pass 2 topic in 'useSubscription' with array but i just get message for first topic for example...
I've got a mosquitto broker set up on my machine that exposes a websocket on port 9001. Here's my configuration file contents: ### mosquitto.conf ``` allow_zero_length_clientid true max_keepalive 65535 listener...
I got a error from use Subscription example ( TypeError: Cannot read properties of undefined (reading 'topic') ) `import React from 'react'; import { useSubscription } from 'mqtt-react-hooks'; export default...
I was thinking that we can have an object or map for the state where we can take a topic as key in obj. This would be more configuration for...
Right now, every newly created example will fail to run in the browser, with the above error. This seems to be related to an import referenced in [this issue](https://github.com/mqttjs/MQTT.js/issues/1020), but...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Proposal for fix #48. `yarn test` still fails for some reason... Tested with `react 18.2` + `vite`
i work with this package but found a problem of getting retained values
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...