You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we use in our application RootAction as is recommended in the documentation, then TS compilatin is extremly slow and intellisense in VS Code becomes near-unuseable.
The workaround reduces compilation time from 5:40 to 0:35 and makes vscode intellisense fast.
The text was updated successfully, but these errors were encountered:
zdila
changed the title
Using RootAction makes TypeScript intellisense and compilatiion extremly slow
Using RootAction makes TypeScript compilation and vscode intellisense extremly slow
Dec 5, 2020
Description
If we use in our application
RootAction
as is recommended in the documentation, then TS compilatin is extremly slow and intellisense in VS Code becomes near-unuseable.It is reproducible with the project https://github.com/FreemapSlovakia/freemap-v3-react (just clone it and do
npm i && DEPLOYMENT=www time ./node_modules/.bin/webpack
, but currently it has a workaround you can see below).A workaround is to replace the above code with this:
The workaround reduces compilation time from 5:40 to 0:35 and makes vscode intellisense fast.
The text was updated successfully, but these errors were encountered: