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

Do not catch errors in promises and let user catch them #18

Closed mohsen1 closed 6 years ago

mohsen1 commented 6 years ago

https://github.com/ctrlplusb/react-tree-walker/blob/master/src/index.js#L101

This is making it impossible to catch errors during bootsrap

ctrlplusb commented 6 years ago

I'm happy to move forward with this change. 👍

ctrlplusb commented 6 years ago

Done 🎉

Actually exposed some nice issues in the process. Thanks for the report.

mohsen1 commented 6 years ago

Thanks!