react-native icon indicating copy to clipboard operation
react-native copied to clipboard

outdated docs

Open tobiaseisenschenk opened this issue 6 years ago • 3 comments

I love the concept behind cyclejs, but it seems like the docs are out of date as the example is not working with the current RN deps. Also there seems to be few work done on the react-native driver overall. Do you think this project will get more attention in the future?

tobiaseisenschenk avatar Jun 26 '19 15:06 tobiaseisenschenk

Could you tell me what are the errors that occur when you run the example with latest RN version?

staltz avatar Jun 27 '19 07:06 staltz

yes, of course:

ExceptionsManager.js:74 NavigatorIOS is deprecated and has been removed from this package. Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html
  | handleException | @ | ExceptionsManager.js:74
-- | -- | -- | --
  | handleError | @ | setUpErrorHandling.js:23
  | reportFatalError | @ | error-guard.js:42
  | guardedLoadModule | @ | require.js:199
  | metroRequire | @ | require.js:125
  | (anonymous) | @ | incorporate.js:91
  | executeApplicationScript | @ | debuggerWorker.js:40
  | (anonymous) | @ | debuggerWorker.js:72

The project runs on these versions:

  • "@cycle/react-native": "^1.4.0",
  • "@cycle/run": "^5.2.0",
  • "react": "16.8.3",
  • "react-native": "0.59.9",

Does the driver maybe depend on NavigatorIOS?

tobiaseisenschenk avatar Jun 28 '19 10:06 tobiaseisenschenk

That's nice to know! This driver depends on NavigatorIOS, but very lightly (we just provide a shortcut for all their APIs). This should be very easy to fix.

staltz avatar Jun 28 '19 18:06 staltz