react-dynamic-route-loading-es6 icon indicating copy to clipboard operation
react-dynamic-route-loading-es6 copied to clipboard

Why you export routes as a function

Open Ridermansb opened this issue 8 years ago • 1 comments

I don't understand, why routes.js as exported as an function?

Ridermansb avatar May 30 '17 04:05 Ridermansb

@Ridermansb, this is stateless Component. See Functional and Class Components

imprevo avatar May 31 '17 07:05 imprevo