Why you export routes as a function
Ridermansb opened this issue · 1 comments
Ridermansb commented
I don't understand, why routes.js as exported as an function?
imprevo commented
@Ridermansb, this is stateless Component. See Functional and Class Components