HKN-UCSD / old-hkn-server

Member portal for UCSD HKN members.
MIT License
5 stars 6 forks source link

Using Route's render prop instead of component prop for src/pages/App. #114

Closed thai-truong closed 4 years ago

netlify[bot] commented 4 years ago

Deploy preview for hkn-portal-staging ready!

Built with commit 4d30f0c8edb26af84736ccf08ad7eb7562e2b261

https://deploy-preview-114--hkn-portal-staging.netlify.app

godwinpang commented 4 years ago

nice work - would love it if there's some explanation as to why we did this :) I think it would be good not only for education purposes but also for documentation

thai-truong commented 4 years ago

Yeah mb about that. I did write some explanation in the issue description but I'll just put it here as well.

The reason why we are switching from component prop to render prop for Route in src/pages/App is because: