redbrick / react-site

Redbrick Website Upgrade - Development Started Semester 1 2019
1 stars 1 forks source link

switch to using react hooks and functional components #17

Closed butlerx closed 4 years ago

butlerx commented 4 years ago

This Pr is rather large because react hooks a quite different but they result in far less boilerplate and more easily understood code.

As part of this PR, I also removed the style of map and push in favour of pure maps as this is far simpler and more efficient.

This PR closes #16 #14 #15 #13 #11 #9 #8 #7 #6 #5 #4 #3 and #1 It also Makes it possible to stop using stock images ala #12 and fixes some of the issues listed in #10

theycallmemac commented 4 years ago

@butlerx good work on this - I've requested a review from @Frazl as his input is better here than mine.