Closed sdeleon28 closed 6 years ago
Don't merge this yet. It causes createClass
errors.
I'm working on changing the codebase to use ES6 classes instead of createClass
. Should be ready next week.
@sdeleon28 any timeline on this?
@Right2Drive I continued this work in #150, but hit another roadblock and I actually left this hanging because it wasn't the root of the problem I was facing (which I can't even recall - sorry). I don't have the bandwidth to address this right now but feel free to continue the work I did on that branch, but have in mind it may not even be the right thing to do: There seem to be a bunch of PRs on a rewrite
branch, so maybe my changes don't even make sense anymore. Perhaps @RealOrangeOne can shed some light on this?
Changed PropTypes imports to use
prop-types
package instead of React's bundled PropTypes. I had experienced this bug https://github.com/RealOrangeOne/react-native-mock/issues/139, then fixed it using the latest master but I got a similar one withshape
instead ofnumber
. This fixes that.Note: Modifies version numbers in
package.json
in order to resolvepeerDependencies
properly.