Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ashishb
· 4y ago · 0 comments
The latest version of webpack removed polyfill, this broke another dependency, and i had to downgrade the react version to fix that!
Nothing like this did I ever see in the go or kotlin world.
Comments
[–]
qmmmur
4y ago
If you depend on a specific behaviour why dont you pin your react version?
[–]
ashishb
OP
4y ago
I learnt that much later. Apparently the current version of webpack that you get by following the official react project setup is missing certain polyfills!
[–]
zero_shift
4y ago
Couldn't you have pinned your dependency and / or installed from a lockfile?