index.jsx 684 B

1234567891011121314151617181920212223242526272829
  1. import "./wdyr";
  2. import React from "react";
  3. import ReactDOM from "react-dom";
  4. import "./index.css";
  5. import "./i18n"; // load translation system
  6. import App from "./App";
  7. import * as serviceWorker from "./serviceWorker";
  8. import styled from "styled-components";
  9. ReactDOM.render(
  10. <React.StrictMode>
  11. <App />
  12. </React.StrictMode>,
  13. document.getElementById("root")
  14. );
  15. // If you want your app to work offline and load faster, you can change
  16. // unregister() to register() below. Note this comes with some pitfalls.
  17. // Learn more about service workers: https://bit.ly/CRA-PWA
  18. serviceWorker.unregister();
  19. window.Styled2 = styled;
  20. console.log(window.Styled2 === window.Styled1);