{"action":"created","issue":{"url":"https://api.github.com/repos/r0man/sablono/issues/53","labels_url":"https://api.github.com/repos/r0man/sablono/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/r0man/sablono/issues/53/comments","events_url":"https://api.github.com/repos/r0man/sablono/issues/53/events","html_url":"https://github.com/r0man/sablono/issues/53","id":57679637,"number":53,"title":"Using Sablono with React with Add-Ons","user":{"login":"cigitia","id":6068566,"avatar_url":"https://avatars.githubusercontent.com/u/6068566?v=3","gravatar_id":"","url":"https://api.github.com/users/cigitia","html_url":"https://github.com/cigitia","followers_url":"https://api.github.com/users/cigitia/followers","following_url":"https://api.github.com/users/cigitia/following{/other_user}","gists_url":"https://api.github.com/users/cigitia/gists{/gist_id}","starred_url":"https://api.github.com/users/cigitia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cigitia/subscriptions","organizations_url":"https://api.github.com/users/cigitia/orgs","repos_url":"https://api.github.com/users/cigitia/repos","events_url":"https://api.github.com/users/cigitia/events{/privacy}","received_events_url":"https://api.github.com/users/cigitia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T03:43:24Z","updated_at":"2015-02-14T11:46:03Z","closed_at":null,"body":"As of Sablono 0.3.3 and [`cljsjs/react-with-addons`](https://github.com/cljsjs/packages/tree/master/react-with-addons) 0.12.2-4, if a clean ClojureScript project includes both `cljsjs/react-with-addons` and `sablono` in its dependencies and is then compiled in optimizations-none mode, then the compiler will use React without Add-Ons and not use React with Add-Ons, making [`React.addons`](http://facebook.github.io/react/docs/addons.html) completely unavailable in any of the project’s code.\r\n\r\nRemoving Sablono from the project’s dependencies, cleaning compiled files, and then recompiling causes React with Add-Ons to be used.\r\n\r\nIt should be possible to use React with Add-Ons along with Sablono in the same project, though I’m unsure whether this is at all possible with the compiler’s current behavior."},"comment":{"url":"https://api.github.com/repos/r0man/sablono/issues/comments/74371997","html_url":"https://github.com/r0man/sablono/issues/53#issuecomment-74371997","issue_url":"https://api.github.com/repos/r0man/sablono/issues/53","id":74371997,"user":{"login":"r0man","id":21566,"avatar_url":"https://avatars.githubusercontent.com/u/21566?v=3","gravatar_id":"","url":"https://api.github.com/users/r0man","html_url":"https://github.com/r0man","followers_url":"https://api.github.com/users/r0man/followers","following_url":"https://api.github.com/users/r0man/following{/other_user}","gists_url":"https://api.github.com/users/r0man/gists{/gist_id}","starred_url":"https://api.github.com/users/r0man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0man/subscriptions","organizations_url":"https://api.github.com/users/r0man/orgs","repos_url":"https://api.github.com/users/r0man/repos","events_url":"https://api.github.com/users/r0man/events{/privacy}","received_events_url":"https://api.github.com/users/r0man/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T11:46:03Z","updated_at":"2015-02-14T11:46:03Z","body":"Can't you exclude cljsjs/react in your project? Like this:\r\n`[sablono \"0.3.3\" :exclusions [cljsjs/react]]`"}}