Skip to content

starting new project with react #6618

Answered by AlCalzone
zeev-mindali asked this question in Q&A
Discussion options

You must be logged in to vote

Z-Wave JS is meant to run on a Node.js backend. You cannot just use it in React. Only the stuff imported from the ".../safe" entrypoints can be used directy on the frontend.
What you could do is run https://github.com/zwave-js/zwave-js-server on the backend and the communicate with that using websockets from React.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlCalzone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants