Skip to content

Releases: marcoandre1/marcoandre1.github.io

v3.0.3

18 Feb 19:58
a2a6340
Compare
Choose a tag to compare

v3.0.2

14 Feb 04:42
21f36b0
Compare
Choose a tag to compare

v3.0.1

20 Jan 12:39
a5753e0
Compare
Choose a tag to compare

v3.0.0

19 Jan 03:06
064ab44
Compare
Choose a tag to compare
  • Upgrade to React 18 (@marcoandre1)

    To install the latest version of React:
    npm install react react-dom

    NOTE: see commit details Bump react react-dom

  • Fix #162 [BUG]: hydrateRoot(...): Target container is not a DOM element. Particular attention to the parameters inversion in the NEW hydrate function: hydrate(<App tab="home" />, container) vs hydrateRoot(container, <App tab="home" />). (@marcoandre1)

    Extract from How to Upgrade to React 18:

    Finally, if your app uses server-side rendering with hydration, upgrade hydrate to hydrateRoot:

    // Before
    import { hydrate } from 'react-dom';
    const container = document.getElementById('app');
    hydrate(<App tab="home" />, container);
    
    // After
    import { hydrateRoot } from 'react-dom/client';
    const container = document.getElementById('app');
    const root = hydrateRoot(container, <App tab="home" />);
    // Unlike with createRoot, you don't need a separate root.render() call here.
  • Upgrade to React Router v6 (@marcoandre1)

    Upgrade all <Switch> elements to <Routes>.
    <Route exact> is gone.
    <Route element> replaces <Route render> props. (see Upgrade to React Router v5.1)
    useParams inside your route component retrieves params. (see Upgrade to React Router v5.1)

    NOTE: see commit details Bump react-router-dom to v6

  • Upgrade to react-redux 8 (@marcoandre1)

    Add useSelector() hook
    Allows you to extract data from the Redux store state, using a selector function.
    The selector is approximately equivalent to the mapStateToProps argument to connect conceptually.

    NOTE: I had to change to useSelector() in the Dashboard component instead of mapStateToProps() because of the upgrade to React router v6. See commit details Add useSelector hook

  • Bump @headlessui/react because previous version incompatible with React 18. (@marcoandre1)

v2.0.5

15 Jan 01:48
e5b6cbb
Compare
Choose a tag to compare

v2.0.4

11 Jan 19:43
d86231d
Compare
Choose a tag to compare
  • Fix #147 language switch button closes correctly when language is choose (@marcoandre1)
  • Fix burger menu for mobile: closes when link is selected (@marcoandre1)

v2.0.3

11 Jan 18:26
fe65fcd
Compare
Choose a tag to compare

v2.0.2

11 Jan 03:47
ec94598
Compare
Choose a tag to compare

v2.0.1

11 Jan 03:11
0dfe9fc
Compare
Choose a tag to compare

v2.0.1

  • #78 Add new projects: actually some old projects that where never included on the website (@marcoandre1)
  • #131 Add GitHub Actions for automatic deployment: take a look at .github/workflows/release-on-master-pr.yml file for more info. (@marcoandre1)
  • #108 Problem with deployments: see PR #132 Update gh-pages dependency from 2.2.0 to 4.0.0 and #134 Add GitHub action for automatics deployment. After some fixes on the workflow file, everything seems to run smoothly.

v2.0.0

08 Jan 12:31
19cdfea
Compare
Choose a tag to compare

NOTE: all security vulnerabilities from react-snap have been removed! Only 6 high vulnerabilities left from CRA. No fix yet. But seems to be a false alarm.

December 2021 UPDATE: Updated Create React App from v4.0.1 to v5.0.0:

npm install --save --save-exact [email protected]

Everything went smooth but my svg files wouldn't load. I solved it by running an online optimizer on my svg files (https://www.svgviewer.dev/).

NOTE: while trying to fix npm warnings I found this issue: Help, npm audit says I have a vulnerability in react-scripts!. As of December 2021, I have some warnings (3 low and 18 moderate) on npm install and it seems to be a problem with the new CRA release using old libraries (and probably because react-snap isn't mantained since December 13, 2018). There is no fix yet.