ParseReact icon indicating copy to clipboard operation
ParseReact copied to clipboard

React Native 0.17 Duplicate declaration "observe"

Open davidsims9t opened this issue 9 years ago • 0 comments

I upgraded to React Native 0.17 and now I'm getting a syntax error that I have a duplicate declaration "observe" when I attempt to use Parse React.

Here's how my components are constructed:

import React from 'react-native'
import Parse from 'parse/react-native'
import ParseReact from 'parse-react/react-native'
const ParseComponent = ParseReact.Component(React)

class MyComponent extends ParseComponent {
  observe(props, state) {
     return {}
  }
}

Thanks!

davidsims9t avatar Dec 29 '15 23:12 davidsims9t