Géraud Henrion

Results 7 comments of Géraud Henrion

Another workaround that worked for me (with React 17), is to provide an empty string for `jsxFactory` and `jsxFragmentFactory` : ```json { "jsx": "react-jsx", "jsxFactory": "", "jsxFragmentFactory": "" } ```

Use `combineLatest` instead of `map` in your main function: ``` javascript function main(sources) { const counter$ = Rx.Observable.interval(1000); const child$ = Child().DOM; return { DOM: Rx.Observable.combineLatest( counter$, child$, (counter, child)...

I can confirm I use it in (only) one place too, the usage looks like this : ```js const generatePdfIntent$ = xs.create() const pdf = PdfBuilder({ ...sources, generatePdfIntent$ }) const...

Is https://github.com/cyclejs/cyclejs/issues/807 related to your question ?

Same story here, but different extension. [vscode-gitblame](https://github.com/waderyan/vscode-gitblame) is the culprit. There is a lot of calls to async_hooks that causes a lot of computation (with `registerDestroyHook`). I guess those extensions...

> I like the indentation to reflect the level of detail (as in video games). When I'm reading the code from where this snippet was extracted, if I only want...

Yes but be carefull about performances here : you're recreating a new `value` object during each render. You may want to memoize it