ModusCreateOrg/react-dynamic-route-loading-es6

Why you export routes as a function

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