react icon indicating copy to clipboard operation
react copied to clipboard

Utilities to interoperate between Cycle.js and React

Results 6 react issues
Sort by recently updated
recently updated
newest added

Fixes #8 Implementation of `jsxFactory` is just a copy and paste from @sliptype's pull request (cyclejs/react-dom#3). Test cases have been rewritten in a DOM-free way (using enzyme). There are still...

Full code here: https://codesandbox.io/s/quirky-butterfly-0pdjd?file=/src/index.ts ```typescript function main(sources: any) { const counter = Counter(sources, xs.of(2)); const other = Counter(sources, xs.of(1)); return { react: xs .combine(counter.DOM, other.DOM) .map((els) => h("div", els)) };...

This feature is an attempt to offer the same dom `props` functionality offered by VNodes in `@cycle/dom`. I've chosen to name the special prop `domProps` but that could obviously be...

## Problem `jsxFactory` should be export from `@cycle/react`, not from `@cycle/react-dom`. ## Why There are many DOM-free React projects in the world such as [Ink](https://github.com/vadimdemedes/ink) and [Adapt](https://adaptjs.org). ## Library versions...

Your blog post https://staltz.com/use-react-in-cyclejs-and-vice-versa.html mentions that you want hyperscript to be the first class citizen, and JSX second, but I was wondering if in fact the React JSX `key` isn't...

I'm having some problems using cycle-react in my own components if these are imported from other packages. When importing the hyperscript function directly from `cycle/react` everything works fine. But when...

bug