Yomguithereal / baobab-react

React integration for Baobab.
MIT License
309 stars 38 forks source link

Cannot read property 'get' of undefined after upgrade to 4 #142

Open hscheckenbacher-ambifi opened 4 years ago

hscheckenbacher-ambifi commented 4 years ago

I've recently upgraded from 3.X to 4.0.2 and noticed that the tree no longer is defined when using Proptypes, so trying to access this.context.tree returns undefined.

2020-07-16_14-30-23

I'm looking to upgrade to take advantage of the new Hooks approach. Any thoughts on what might be going on?

Thanks!

Yomguithereal commented 4 years ago

Hello @hscheckenbacher-ambifi. Can you provide me with a reproducible example. I don't really know how to help you without.