codesydney / codesydneywebsite

codesydneywebsite.vercel.app
10 stars 13 forks source link

Class based componants converstion to Function Footer.jsx #82

Closed infodsagar closed 1 year ago

infodsagar commented 1 year ago

With the latest version of React, it is recommended to avoid the use of class-based components. As a part of upgrading the whole project, we can initiate the process with the following file Footer.jsx

What we expected to do is define the Footer class as a function component.

https://github.com/codesydney/codesydneywebsite/blob/main/src/component/footer/Footer.jsx

davidtaing commented 1 year ago

Thanks for doing that @infodsagar. Since this version of the Header isn't being used, I'll change the issue to migrate the Footer component instead.

infodsagar commented 1 year ago

sure, I have updated the title of this issue.

infodsagar commented 1 year ago

I am closing the issue as it is resolved under this commit Convert Footer to Function Component #84