Conway's Game of Life as a React web app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.tsx 552B

12345678910111213141516171819
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import Board from './Board';
  5. import reportWebVitals from './reportWebVitals';
  6. ReactDOM.render(
  7. <React.StrictMode>
  8. <div className="container">
  9. <Board />
  10. </div>
  11. </React.StrictMode>,
  12. document.getElementById('root'),
  13. );
  14. // If you want to start measuring performance in your app, pass a function
  15. // to log results (for example: reportWebVitals(console.log))
  16. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  17. reportWebVitals();