Juho Teperi

Results 298 comments of Juho Teperi

I don't think so. Foreign deps are repsented as a maps with values read from deps.cljs: https://github.com/clojure/clojurescript/blob/c72e9c52156b3b348aa66857830c2ed1f0179e8c/src/main/clojure/cljs/js_deps.cljc#L191-L203 Maps don't implement ISourceMap: https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L325-L334

Related: http://dev.clojure.org/jira/browse/CLJS-1410

Yes, I know that one, I implemented Reagent case for that project. It is quite nice tool to compare performance between React wrappers and others, but the standard deviation for...

Changing meta-merge logic would be inconvenient, but maybe it is possible to handle certain paths, like `:parameters` before or after meta-merge.

Preact doesn't work with React-native. Lack of stateful components would require changes in Reagent and would break many projects using Reagent. But maybe it would be possible provide an option...

> Preact retains a large amount of compatibility with React, but only the stateless functional components and ES6 Classes interfaces. I just skipped ES6 classes part as it is not...

Someone should experiment if there is even need for any changes in Reagent, in theory Preact (and for that matter Inferno) both provide the same API as React so Reagent...

I packaged react-compat (and proptypes) for cljsjs and used exclusions to replace React with Preact: https://github.com/Deraen/problems/tree/reagent-preact At least a simple demo is working without any changes to Reagent. With master...

@developit what React version is Preact-compat targetting? `preactCompat.DOM` doesn't seem to contain `render`, `findDOMNode` or `unmountComponentAtNode` which where moved from React to ReactDOM in React 15. I worked around this...

Thanks. Just realized that myself.