Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
1 answer
40 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": &...
AxelRHD's user avatar
-1 votes
1 answer
57 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) ...
Ivan Rodriguez's user avatar
0 votes
1 answer
37 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 ...
janat08's user avatar
  • 1,787
0 votes
1 answer
62 views

function componentA(sources$) { return { dom$: ..., http$: ... } } function componentB(sources$) { return { dom$: ..., http$: ... } } function main(sources$) { ...
user13161797's user avatar
0 votes
1 answer
63 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 ...
Shahar 'Dawn' Or's user avatar
1 vote
0 answers
48 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 ...
Akaan Qualrus's user avatar
1 vote
1 answer
71 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 ...
Vogelino's user avatar
0 votes
1 answer
56 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 => { ...
Patrick's user avatar
  • 906
0 votes
1 answer
54 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 ...
PAT-O-MATION's user avatar
  • 2,016
0 votes
1 answer
98 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 ...
Martin's user avatar
  • 6,025
1 vote
1 answer
39 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 ...
Shahar 'Dawn' Or's user avatar
1 vote
1 answer
358 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 ...
Fabiano Taioli's user avatar
0 votes
2 answers
816 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-...
willyab's user avatar
  • 332
0 votes
1 answer
157 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 ...
CCG_Intranet's user avatar
1 vote
1 answer
48 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 ...
krampstudio's user avatar
  • 3,631

15 30 50 per page
1
2 3 4 5
8