Tag Archives: Dependencies

Understanding equality of values in JavaScript (+ React useEffect dependencies) – JavaScript Developer

Understanding equality of values in JavaScript (+ React useEffect dependencies) Picture by Tingey Injury Law Firm ☕️ Read this article on my blog Equality of values in JavaScript: for years, this has been a fairly obscure matter for me. What number of occasions have I been confused by an if assertion behaving in a shocking…

Read More

Understanding Dev, Peer, and Regular Dependencies – Node Dev Feed

Understanding Dev, Peer, and Regular Dependencies When building a modern JavaScript app, you will likely rely on many other packages and third-party dependencies. For example, you might use react and react-dom for your UI, lodash for utility helper methods, webpack or rollup as your bundler, and jest with @testing-library/react for unit tests. All of these…

Read More

Yarn.lock: how it works and what you risk without maintaining yarn dependencies — deep dive – React Dev Feed

Yarn.lock: how it works and what you risk without maintaining yarn dependencies — deep dive Coding is fun, there’s no doubt about it. Other things that are fun: Testing! Code maintenance! Keeping dependencies in sync! No? Only for me? Well, it might not be fun for many of you, but to keep your library/application working…

Read More

Fix npx create-react-app stuck or hangs when installing or react dependencies getting stuck during npm install – React Dev Feed

Fix npx create-react-app stuck or hangs when installing or react dependencies getting stuck during npm install I have encountered this scenario a few times during installation of create-react-app or when installing react dependencies. There are various solution for this kind of problem. I am listing all of them below in three different stages, try them…

Read More

Managing Python Dependencies by AWS Lambda Layer – Python Dev Feed

Managing Python Dependencies by AWS Lambda Layer Usage: build_layer.sh <layer_name> <path/to/requirements/file> <python-version> Enter fullscreen mode Exit fullscreen mode for example, scripts/build_layer.sh tensorflow requirements/tensorflow.txt 3.8 Enter fullscreen mode Exit fullscreen mode where requirements/tensorflow.txt contains: tensorflow==2.4.0 Enter fullscreen mode Exit fullscreen mode build_layer.sh #!/bin/bash set -eo pipefail function usage { file_name=$0 echo “usage: ${file_name} <layer_name> <path/to/requirements.txt/file> <python_version>”…

Read More