Truth retweeted
This is a valid Dockerfile for a NodeJS application. It is also a pile of 💩!
We can improve:
- 🔒 Security
- 🏎️ Build speed
- 👁️ Clarity
Follow along as we go from 💩 to 🥇!
(code in alt text)
Can't wait to read @swizec's software engineering lessons from production. No bullshit. 👉 swizec.com/letters/
8
Hi @moshhamedani thanks for all your efforts. I have a git question. What would be the possible reason that when a person branches out of main and do create a PR, that this PR will not contain his new work, rather will undo an older previous commit? -he does not know revert-
1
Also @moshhamedani when this bad PR is accepted on Main, and then followed by a revert -good commit on main-, why when other devs pull latest main, they are prompted with merge conflicts for the files that they did not touch but was only included in the revert fixed?
I am attending DevOps.js Conference. Register for free and join me there with other engineers and great speakers! devopsjsconf.com/badge/gomaa… #DevOpsJS
Truth retweeted
News: AWS has released AWS UI, a collection of @Reactjs + @Typescript libraries for a new design system.
- @awsui/components-react
- @awsui/collection-hooks
- @awsui/design-tokens
- @awsui/global-styles
- @awsui/test-utils-core
Source not yet available.
theregister.com/AMP/2021/01/…
Truth retweeted
📢 Ditch Hex for HSL 📢
Pluck colors out of your head without looking them up 🧙♂️
One of my biggest takeaways from Refactoring UI 👍
What do you use for colors in your CSS? 🧐
Practice with this slider control 🤓
⚒️ @reactjs
👉 codepen.io/jh3y/pen/gOwegKr via @CodePen
Truth retweeted
9 (FREE) JavaScript Books That Are Well Worth Reading blog.bitsrc.io/9-free-javasc… #Javascript
Truth retweeted
This has to be the BEST guide for setting up #VSCode for @Vuejs with #ESLint, #Vetur and #Prettier all working seamlessly. I've never been able to fully nail it until now. Tip: Don't install Prettier Ext - who knew! Thanks @VueMastery 🙏
vuemastery.com/blog/vs-code-…
Truth retweeted
I've been looking forward to this day for a very long time.
So excited to see this finally go live.
xitter.cf/tailwindcss/status/132…
Truth retweeted
Reminder: NO new app should be using passwords. Please read "Passwords are Obsolete" and help us make the web safer for everyone.
medium.com/javascript-scene/…
#security #JavaScript #Code
Truth retweeted
React devs: try `npx create-vite-app --template react` - it's the same code of the default CRA template and Vite handles it just fine... except much faster ;)
Truth retweeted
📺Vite for @Reactjs Devs
youtu.be/oJd9XzNIHzQ
Playing around with @evanyou's new Vite build tool - it gets SO MUCH RIGHT with React Fast Refresh and @TypeScript!
Dare I say it's.... blazing fast? ⚡
Truth retweeted
🤯 Free up GBs of node_modules in less than 30 secs.
❯❯ $ npx npkill
I've deleted 50 GB+ so far. #OneDevMinute
Truth retweeted
Want to place an ion-input and ion-button next to each other?
Check out this snippet I used recently for one of my projects.
Pretty neat that @Ionicframework components can now be easily styled with CSS Shadow Parts.
Truth retweeted
My current favorite app stack:
* Next.js deployed on Vercel
* React/Redux/Redux-Saga
* PWA over native mobile
* RITEWay unit tests
* TestCafe functional tests
* @magic_labs auth
* Firebase db
Truth retweeted
Hi ! Here's how to setup a full blown react application in 30 seconds with @parceljs 🤯. After watching, please comment below👇 and tell me why you still use webpack or create react app. ⛈️⛈️⛈️
Truth retweeted
Did you know there is an official Highcharts wrapper for React?
Make your life easier and check out this tutorial!
#reactjs #charts buff.ly/2KuwRcC


![naive nodejs dockerfile --- FROM node COPY . . RUN npm install CMD [ "node", "index.js" ]](https://pbs.twimg.com/media/Fq3SzdjaEAE1vnR.jpg?name=small&format=webp)






















