/learning-journal-react

Front-end application built with React and React Router, leveraging CSS Grid and Flexbox

Primary LanguageJavaScriptMIT LicenseMIT


Learning Journal

My solo project - Learning Journal (from The Frontend Developer Career Path of Scrimba)
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Issues and solutions
  5. License
  6. Contact
  7. Acknowledgments

About The Project

My solo project - Learning Journal.

(back to top)

Built With

  • React
  • ReactRouter

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

Install packages

yarn

Launch at localhost in development mode

yarn start

(back to top)

Roadmap

  • [ ]

See the open issues for a full list of proposed features (and known issues).

(back to top)

Issues and solutions

src\index.js Line 0: Parsing error: You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously

Solution

Change src\index.js from:

...

const rootElement = document.getElementById("root");
const root = createRoot(rootElement);

root.render(
  <StrictMode>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </StrictMode>
);

to:

...

createRoot(document.getElementById("root")).render(
  <StrictMode>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </StrictMode>
);

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Jen Chen

Project Link: https://github.com/yujhenchen/learning-journal-react

(back to top)

Acknowledgments

(back to top)