cvdlab / react-planner

:pencil2: A React Component for plans design. Draw a 2D floorplan and navigate it in 3D mode.
https://cvdlab.github.io/react-planner
MIT License
1.3k stars 462 forks source link

Not able to import the react-planner component in latest react apps #264

Open Asrarfarooq opened 11 months ago

Asrarfarooq commented 11 months ago

Greetings, I tried to import this component into a new react app, but it does not work at all, even if I rollback to the dependencies listed on the GitHub page it still doesn't work, I tried using older Node versions, using NVM but still the app breaks. The issues are with mostly these modules: react scripts, three, webpacks, redux etc A lot of stuff used within this component has deprecated and that's the reason that these dependencies are breaking the component in latest react apps.
A thoughtful response or a guide would be much appreciated. Also if you want the exact versions of thing I am using right now for the react app, I can provide that as well. Thanks

MeTaNoV commented 11 months ago

you can try this fork: https://github.com/Luccid-ai/react-planner