Though you don't have to follow these conventions, you'll get off to a quicker start if you do, and your code will be more consistent and thus easier to maintain. Many of these conventions are largely an attempt to reuse common ideas and best practices that have been discovered by the Cycle community, and to provide additional abstractions to cover the specialised concerns of an isomorphic web application, and to promote the DRY principle.
Variables representing streams should be suffixed with $
, for example data$
. The variable name chosen, or a suffix thereof, should be a suitable name to represent the data emitted. For example, data$
should emit data
. Similarly, userAuthData$
is fine for emitting any of userAuthData
, authData
, or just data
. Example: authData$.map(data => ...)
or authData$.map(authData => ...)
var frog$ = most.of({ name: 'Hopper' })