welovedevs / react-ultimate-resume

💼 🎨 A modern software developer resume built with React and JSONResume
https://welovedevs.com/react-ultimate-resume
GNU Affero General Public License v3.0
2.12k stars 625 forks source link

Empty cards and showing error. Warning: useLayoutEffect received a final argument that is not an array (instead, received `object`). #57

Closed NazarB99 closed 3 years ago

NazarB99 commented 4 years ago

I installed it with npm install and run it. It shows 10 empty cards. In console I found this error:

useLayoutEffect received a final argument that is not an array (instead, received object). When specified, the final argument must be an array.

This error is in every type of card (basics_card.jsx, projects_card.jsx, etc)

clementdevos commented 4 years ago

I think this is linked to the change in the react-spring API which we talked about in #52 and #48.

As soon as react-spring releases a stable version, we'll try to do an upgrade ASAP.

NazarB99 commented 4 years ago

I think this is linked to the change in the react-spring API which we talked about in #52 and #48.

As soon as react-spring releases a stable version, we'll try to do an upgrade ASAP.

Can you please suggest a workaround for this?

clementdevos commented 3 years ago

It's finally been resolved, please see https://github.com/welovedevs/react-ultimate-resume/issues/48#issuecomment-785986815