use better code re-use for the header link styles
johnhilts opened this issue · comments
John Hilts commented
style={{color: 'white', }} is everywhere ... let's use a component instead
I think there's a better way to do it then "just" a regular react component - the react router tutorial did something similar ...
John Hilts commented
Actually, no, you just make a component to do what was done in the react tutorial ...
John Hilts commented
Re-use wasn't as great as I imagined but code quality is a bit higher...