0

I saw this at a tutorial, what does that syntax mean? Install both react-router and react-redux?

npm i react-{router,redux}

stackjlei
  • 9,485
  • 18
  • 65
  • 113

1 Answers1

1

Yes, it will install both react-router and react-redux. It works the same as:

npm install react-router react-redux
MattYao
  • 2,495
  • 15
  • 21