Piotr Krzemiński
12/06/2021, 9:56 AMRealBackendClient
and MockedBackendClient
without the necessity to change code when using Webpack dev server. For now I found out that webpackHotUpdatefrontend_react
function (my module is called frontend-react
) is defined in window
, but it seems hacky. Is there any more elegant way?Piotr Krzemiński
12/06/2021, 9:59 AM