ParseReact
ParseReact copied to clipboard
React-native: [ParseReact.Mixin] throws error
I am getting >> undefined is not an object (evaluating 'stackString.split') << whenever I include [ParseReact.Mixin]. I wasn't able to track down more details. What does this error mean actually?
Does it require any additional step to subscribe in react-native?
React Native shouldn't require any extra work on your part.
stackString.split is part of React Native's exception-rendering code, so I can't really help there. However, from that it sounds like ParseReact is throwing an exception -- the most common reason for this is that you have included ParseReact.Mixin on a component, but you have not implemented an observe() lifecycle method.
I do have observe() implemented, see here https://gist.github.com/josefrichter/3a94485c8889724b5f02#file-gistfile1-js-L20
I just cannot get any more details to the error, so I also cannot figure out why it's happening. Can you see anything suspicious there, please?