Problem in ReactRouter Link Expansion Using webpack Shimming ProvidePlugin

REF: WebPack ProvidePlugin Plugin

We use webpack shimming ProvidePlugin to expose globally used modules such as underscore, React, ReactRouter, but when it comes to “Link”, which is in the ReactRouter.Link hierarchy, we do not find a solution for direct linking using ProvidePlugin.

Although we exposed ReactRouter using the plugin and could use ReactRouter.Link in the application.

+4
source share

Source: https://habr.com/ru/post/1665684/


All Articles