Clojurians
#cljs-dev
<
2018-06-02
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

symfrog05:06:05

@dnolen I have been able to narrow the minimal repro down to React v16 being specified as a foreign lib dependency in the target module. The minimal repro is available as a comment on the ticket (https://dev.clojure.org/jira/browse/CLJS-2763?focusedCommentId=49265&amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-49265) .

symfrog18:06:42

@dnolen I have narrowed the cause down further to React v16's use of a global "use strict" directive . If the "use strict" global directive is removed everything works as expected.

dnolen05:06:15

thanks will take a look this weekend

symfrog05:06:31

thanks! As you already said, it is unrelated to the metadata issue, so I will clean up JIRA and split it into a separate issue once it is confirmed.

mfikes19:06:29

I'm curious if anyone has thoughts on the extra parenthesis being emitted in the JavaScript in https://dev.clojure.org/jira/browse/CLJS-2766.

mfikes22:06:50

^ sorted the above (just needed to replace cond-> in the macro with core/cond->)