Why you export routes as a function
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
Opened this issue · 1 comments
I don't understand, why routes.js as exported as an function?
@Ridermansb, this is stateless Component. See Functional and Class Components