199
rated 0 times
[
200]
[
1]
/ answers: 1 / hits: 60794
/ 9 Years ago, wed, november 4, 2015, 12:00:00
I was under the impression that this syntax:
import Router from 'react-router';
var {Link} = Router;
has the same final result as this:
import {Link} from 'react-router';
Can someone explain what the difference is?
(I originally thought it was a React Router Bug.)
More From » ecmascript-6