Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 9dac6bd

Browse files
committed
Removed duplicate examples.
1 parent 1eefee3 commit 9dac6bd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/about.html

-10
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,6 @@ <h2>Class Component</h2>
107107
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
108108

109109
<p> </p>
110-
<h2>Component Instance</h2>
111-
<p>React has a class <code>React.createClass</code>. This is basically the same as creating a new instance of the Composi Component class. Below we use <code>React.createClass</code>. Notice how we have to pass in an object literal as the options of <code>React.createClass</code>:</p>
112-
113-
<p data-height="300" data-theme-id="6688" data-slug-hash="38ae372752f080d9082ad824e3b625f3" data-default-tab="js,result" data-user="rbiggs" data-embed-version="2" data-pen-title="About-React-Instance" class="codepen">See the Pen <a href="https://codepen.io/rbiggs/pen/38ae372752f080d9082ad824e3b625f3/">About-React-Instance</a> by Robert Biggs (<a href="https://codepen.io/rbiggs">@rbiggs</a>) on <a href="https://codepen.io">CodePen</a>.</p>
114-
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
115-
116-
<p>And here's a new instance of the Composi Component class:</p>
117-
118-
<p data-height="300" data-theme-id="6688" data-slug-hash="JOdYdK" data-default-tab="js,result" data-user="rbiggs" data-embed-version="2" data-pen-title="Composi-About-Instance" class="codepen">See the Pen <a href="https://codepen.io/rbiggs/pen/JOdYdK/">Composi-About-Instance</a> by Robert Biggs (<a href="https://codepen.io/rbiggs">@rbiggs</a>) on <a href="https://codepen.io">CodePen</a>.</p>
119-
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
120110
<p>The main different here is that Composi requires the use of the <code>new</code> keyword.</p>
121111

122112
<h2>Similar But Different</h2>

0 commit comments

Comments
 (0)