Hello I want to build a 2D or 3D game and I’ve read about three.js for expo and matter.js. But I am having bad time to learn because all the tutorials and the documentations are using DOM which is can find in react js and react native but not work on expo or expo snack.
I tried to copy and paste in snack from this tutorial https://medium.com/better-programming/how-to-use-matter-js-in-a-react-app-bbd43b71efcc but it gave me error because I can’t load the react-native-dom.
I did some search and found that react-native-dom-expo, which is expo created for supporting dom. But I don’t know how to use it and it dose not load in snack even when I add it into package.json manually.
I know that expo is just a tool to improve the react native but I feel it is another framework eveytime I start a new area with it.