<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Webpack on Justin Carmony</title>
		<link>https://www.justincarmony.com/tags/webpack/</link>
		<description>Recent content in Webpack on Justin Carmony</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 02 Apr 2015 18:10:21 +0000</lastBuildDate>
		
			<atom:link href="https://www.justincarmony.com/tags/webpack/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Webpack, React, and Multiple Versions Issues</title>
				<link>https://www.justincarmony.com/2015/04/02/webpack-react-and-multiple-versions-issues/</link>
				<pubDate>Thu, 02 Apr 2015 18:10:21 +0000</pubDate>
				<guid>https://www.justincarmony.com/2015/04/02/webpack-react-and-multiple-versions-issues/</guid>
				<description>&lt;p&gt;I’ve been using React successfully for several projects, and tonight I ran into a problem I hadn’t experienced before. I was trying both &lt;a href=&#34;https://www.npmjs.com/package/react-d3&#34;&gt;&lt;code&gt;react-d3&lt;/code&gt;&lt;/a&gt;and &lt;a href=&#34;https://www.npmjs.com/package/react-d3-components&#34;&gt;&lt;code&gt;react-d3-components&lt;/code&gt;&lt;/a&gt; when I would get an error on rendering:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Uncaught TypeError: Can&#39;t add property context, object is not extensible&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;This error had a very, very deep stack trace far into the depths of React, and I was worried I had encountered a nasty React bug. After some poking around &amp;amp; googling, I discovered that multiple versions of React do not play nicely with each other, at all. When I had installed both those react component libraries, each installed their own version of React, version 0.12. I was using React version 0.13.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Barebones Example of using React &amp; Webpack</title>
				<link>https://www.justincarmony.com/2015/03/19/barebones-example-of-using-react-webpack/</link>
				<pubDate>Thu, 19 Mar 2015 18:13:35 +0000</pubDate>
				<guid>https://www.justincarmony.com/2015/03/19/barebones-example-of-using-react-webpack/</guid>
				<description>&lt;p&gt;The biggest hurdle to starting with &lt;a href=&#34;http://facebook.github.io/react/&#34;&gt;React&lt;/a&gt; is getting your JSX files to compile to plain JavaScript. My preference is to use &lt;a href=&#34;http://webpack.github.io/&#34;&gt;webpack&lt;/a&gt; to accomplish this.&lt;/p&gt;&#xA;&lt;p&gt;If you go and google “react webpack starter” you get some great, fully featured starters like &lt;a href=&#34;https://github.com/webpack/react-starter&#34;&gt;react-starter&lt;/a&gt;. The problem is if you’re not starting from scratch, it can be very hard to see what files / settings / etc you need to bring into your project to make it work.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
