Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
61 views

I have just tried to implement Typescript with a simple toggle-example in Cycle.JS. Here is the setup: package.json { "name": "parcel-cycle-playground", "version": &...
Score of -1
1 answer
60 views

I recently ran into Cycle.js, and, except for what I'm about to ask, I like the framework. Is there a way to implement event handlers directly on the DOM helper? Something like: function main(sources) ...
Score of 0
1 answer
42 views

The docs go over imitate use case, but I don't understand the example made. Where would you call a Parent function, is it like recursive? I'd like to see what the model function looks like, and what ...
Score of 0
1 answer
66 views

function componentA(sources$) { return { dom$: ..., http$: ... } } function componentB(sources$) { return { dom$: ..., http$: ... } } function main(sources$) { ...
Score of 0
1 answer
67 views

It seems that @cycle/state was intended to be used once per app, wrapping main. Is that true? In other words, it seems that @cycle/state does not provide a solution for local state. And I am trying to ...
Score of 1
0 answers
49 views

I want my Cycle.js web application to read data from a file dropped by the user on the page. I have something working by I'm not sure it is the right way to do it. Moreover, my component isn't easily ...
Score of 1
1 answer
73 views

I'm creating a custom cycle.js driver with the purpose of preloading images. The main function exports a sink stream imagesToLoad emitting an array of image URLs. Those are then loaded by the driver ...
Score of 0
1 answer
64 views

Suppose, I want to render 3 buttons which are mapped from Array export const homePage = soruces => { const array$ = xs.fromArray([1,2,3]) return { DOM: array$.map(e => { ...
Score of 0
1 answer
56 views

I'm trying to create a record audio stream. I'm creating a promise stream from navigator mediaDevices.getUserMedia then mapping that stream to a media recorder stream. Finally I want to create a blob ...
Score of 0
1 answer
117 views

I am new to Cycle.JS. Please forgive the typescript errors as well! I'm using create-cycle-app. I made a simple login form component. It uses the DOM and HTTP drivers. I capture the submit event from ...
Score of 1
1 answer
41 views

Since the type of of a reducer is defined as export type Reducer<T> = (state: T | undefined) => T | undefined; In my reducers that are not the initial reducer, I must declare state = state ...
Score of 1
1 answer
366 views

I'm working on a Cycle JS app using storage and state plugins. The app use xstream as reactive library. I'm incapped in a strange behaviour. My streams are as this diagram On first session var ...
Score of 0
2 answers
831 views

Experimenting with the cyclejs javascript reactive frameworks and I'm new to the paradigm. I've set up a stream to read from an external URL (en.wikipedia.org) and get the following result: Cross-...
Score of 0
1 answer
161 views

We currently have a VueJS application and I am looking at migrating it to Cycle.js (first major project). I understand in Cycle.JS we have SI and SO for drivers (using adapt()); naturally a WebSocket ...
Score of 1
1 answer
50 views

Given an isolated component built with CycleJs (the component works fine) : import isolate from '@cycle/isolate'; import { div, ul, li, a } from '@cycle/dom'; function intent(domSource){ const ...

15 30 50 per page
1
2 3 4 5
8