-
Can someone explain how to setup metacom in react properly? Im trying with simple create-react-app setup and npm i metacom.
Getting: TypeError: this.open is not a function |
Beta Was this translation helpful? Give feedback.
Answered by
lishtvan
May 2, 2021
Replies: 1 comment 5 replies
-
Changing |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
lishtvan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing
const metacom = new Metacom('http://localhost:8001/');
to
const metacom = Metacom.create('http://localhost:8001/api');
Worked for me, @tshemsedinov should I create pull request or issue?