ctrlplusb / react-tree-walker

Walk a React (or Preact) element tree, executing a "visitor" function against each element.
MIT License
345 stars 34 forks source link

React tree walker can not walk children 2.0.0 react-async-component components #44

Open andrastothtw opened 5 years ago

andrastothtw commented 5 years ago

Hello!

We decided to bump "react-async-component": "1.0.2" to 2.0.0. We found that latest react-tree-walker now cannot walk children of the new AsyncComponents.

Versions in question:

    "react": "16.4.1",
    "react-async-bootstrapper": "1.1.2",
    "react-async-component": "2.0.0",
    "react-dom": "16.4.1",
    "react-helmet": "5.2.0",
    "react-hot-loader": "4.0.0",
    "react-router-dom": "4.2.2",
    "react-tree-walker": "4.3.0",
oyeanuj commented 5 years ago

@andrastothtw FWIW, I am using the following versions and it works.

        "react-async-bootstrapper": "2.1.1",
        "react-async-component": "2.0.0",

What issues are you noticing?