retejs / module-plugin

4 stars 10 forks source link

Module doesn't show when clicking another module - [React] #13

Open CRGavrila opened 4 years ago

CRGavrila commented 4 years ago

Hello, I started to play with this on react but it seems it doesn't work or maybe I'm using it wrong. Modules can't be changed when i click another module., you can see the nodes from main module are still on the view.

Step to reproduce:

  1. Create some Nodes
  2. Add more modules from the left button by clicking it.
  3. Click the new module from the list.

Expected result: View should be empty.

codesandbox: https://codesandbox.io/s/retejs-react-render-s77mv