useFrontendNews
@useFrontendNews
Daily dose of frontend news around react ecosystem that will make you learn today’s modern frontend stack a little more everyday.
How are you handling errors on your NodeJs application. If you are looking for best practices for handling errors on NodeJs, this article is a must read. Courtesy @sematext sematext.com/blog/node-js-e…
sematext.com
Node.js Error Handling Made Easy: Best Practices On Just About Everything You Need to Know
Don’t you hate it when you see an uncaughtException error pop up and crash your Node.js app? Yeah… I feel you. Can anything be worse? Oh yeah, sorry, unhandledRejection I didn’t see you there. What a...
4 Micro-Frontend Anti-Patterns. The 4 common ways to make a mess in… | by Santosh Shinde | JavaScript in Plain English javascript.plainenglish.io/four-micro-fro…
levelup.gitconnected.com
4 Micro-Frontend Anti-Patterns
The 4 common ways to make a mess in micro-frontend-based applications.
This “12 Days of Web” series by @5t3ph and a stellar selection of guest writers is *SO GOOD* 12daysofweb.dev
How to build, test, and publish a TypeScript npm package in 2022 | Strict Mode strictmode.io/articles/build…
Next.js 13.1 ◆ `app` Directory (Beta): Improved DX and reliability ◆ Turbopack (Alpha): Tailwind CSS, error overlay, `next/image` ◆ Middleware: Return `Response` and set `Request` headers ◆ Edge API Routes (Stable): Lighter, Web-standard runtime nextjs.org/13-1
nextjs.org
Next.js 13.1
Next.js 13.1 introduces improvements to the app directory, built-in module transpilation, stable edge runtime for API Routes, and many improvements to Turbopack support.
Next.js No longer use SSR/SSG functions youtu.be/g0Jc5D6tiCo via @YouTube
youtube.com
YouTube
Next.js No longer use SSR/SSG functions
Next.js 13 ◆ Layouts ◆ React Server Components w/ Streaming ◆ Component-based Data Fetching & Caching ◆ Turbopack: the Rust-based Webpack successor ◆ Improved `next/image` ◆ @next/font nextjs.org/13
🔥 CSS Features to start learning, as I expect them to ship in all browsers in 2022: 1. Container Queries 2. Cascade Layers 3. Color Functions 4. Viewport Units 5. :has() 6. Overscroll Behaviour 7. Subgrid 8. Accent Color 9. Media Query Ranges
The Movies App. It features multiple routes and views, authentication, dark mode and a range of performance optimizations. Its goal is to educate developers on how they can build a good user-experience that can deliver reasonable performance with good DX. tastejs.com/movies/
React’s “use” hook in 1 tweet: Works like “await”. Wraps promises (and soon other things). The component replays when the promise resolves. Only for client. Can be called conditionally! Can be placed in the same spots as “await”. Part of Suspense data fetching story. #react
TypeScript tip: Avoid making a property optional when the property isn’t valid in a certain case. Instead, declare 2 separate types, and use Omit to avoid copy/paste. Example: Many objects lack an id until they're saved. So declare a separate "Unsaved" type. #typescript
🚨 New TypeScript Repo🚨 32 new exercises on: 1️⃣ Branded types 2️⃣ Identity functions 3️⃣ The Builder Pattern 4️⃣ Using external libraries Still a couple of WIP spots, but it's ready for fresh eyes! github.com/total-typescri…
🎨 An endless collection of accessible color combinations: randoma11y.com
Playwright now has new APIs inspired by Testing Library. 💯
Do you know what mutation testing is? Test your code not just to increase coverage but see it run against edge cases around your code stryker-mutator.io/docs/
stryker-mutator.io
What is mutation testing? | Stryker Mutator
TL; DR: Mutation testing introduces changes to your code, then runs your unit tests against the changed code. It is expected that your unit tests will now fail. If they don't fail, it might indicate...
United States Trends
- 1. #FinallyOverIt 5,777 posts
- 2. Summer Walker 18K posts
- 3. 5sos 22.2K posts
- 4. #criticalrolespoilers 4,172 posts
- 5. #GOAI 3,098 posts
- 6. #zzzSpecialProgram 3,073 posts
- 7. Wale 33.1K posts
- 8. Justin Fields 10.1K posts
- 9. #MakeOffer 12.9K posts
- 10. Domain For Sale 13.3K posts
- 11. Bihar 272K posts
- 12. Go Girl 25.7K posts
- 13. 1-800 Heartbreak 1,498 posts
- 14. Drake Maye 21.4K posts
- 15. Judge 205K posts
- 16. Robbed You 4,134 posts
- 17. RIN AOKBAB BEGIN AGAIN 508K posts
- 18. Jalen Johnson 9,200 posts
- 19. GM CT 20.5K posts
- 20. Alignerz 158K posts
Something went wrong.
Something went wrong.