Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>JS Bin</title>
    
    <script src="//code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="//fb.me/react-with-addons-0.12.0.js"></script>
    
    <script>
      $(document).ready(function() {
        function createReactComponent(el) {
          return React.render(
            React.createElement(MessageList), el
          );
        }
        
        function destroyReactComponent(el) {
          React.unmountComponentAtNode(el);
        }
        
        createReactComponent(document.getElementById("messageList"));
        destroyReactComponent(document.getElementById("messageList"));
        createReactComponent(document.getElementById("messageList"));
        destroyReactComponent(document.getElementById("messageList"));
        createReactComponent(document.getElementById("messageList"));
      });
    </script>
  </head>
  <body>
    <div id="messageList"></div>
  </body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers