Skip to content

Instantly share code, notes, and snippets.

@baranovxyz
Last active October 20, 2017 11:37
Show Gist options
  • Save baranovxyz/3e8c29c8cc13341925e0798dc6978f7f to your computer and use it in GitHub Desktop.
Save baranovxyz/3e8c29c8cc13341925e0798dc6978f7f to your computer and use it in GitHub Desktop.

Checklist to debug Cyclejs app

  • Check if sinks from app components connected to main app. May use .debug('sink name') on app sinks.
  • Check if .flatten() used on stream of streams that might return results async, maybe use .compose(flattenConcurrently) instead.

Errors

  • Uncaught TypeError: s[i]._add is not a function - often means that s[i] is not a stream and you forgot to return sink.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment