- React Digest
- Posts
- React is a programming language
React is a programming language
and its rules are syntax
React is a programming language, and its rules are syntax
4 minutes by Sam Selikoff
The article explains why refs don't work in React Server Components, primarily because DOM nodes don't exist on the server side. It discusses how React's design decisions and constraints, while sometimes frustrating, are intentional to maintain JavaScript's lexical scope benefits and ensure consistent UI behavior.
What we learned from analyzing 20.2 million CI jobs
sponsored by Trunk
What causes flaky tests, and how do they impact engineering workflows? Trunk analyzed 20.2 million CI jobs to find the answers. See the trends we uncovered and how Trunk can help you detect, quarantine, and eliminate flaky tests from your codebase. Access is completely free. Check out our getting started guide.
How to Set Up Next.js 15 for Production in 2024
27 minutes by Jan Hesters
This article shows all the steps and packages that you need to set up Nextjs 15 and explain why they're useful, so your app scales smoothly.
The styling dilemma in React
6 minutes by Petar Ivanov
The article discusses various approaches to styling React applications, including traditional CSS, preprocessors (SASS/SCSS), Tailwind CSS, CSS Modules, and CSS-in-JS solutions. It compares their advantages and disadvantages, focusing on issues like global scope, maintainability, and developer experience.
TIL: inline event handlers still fire when passed to React's dangerouslySetInnerHTML
5 minutes by Alex MacArthur
Even though it won't run script tags, React's dangerouslySetInnerHTML still allows inline event handlers to execute. Here's how you might neutralize that threat.
React and FormData
4 minutes by Robin Wieruch
Robin shows how to effectively handle FormData in React form submissions, focusing on converting FormData to JavaScript objects. He demonstrates the evolution from basic form handling to more sophisticated approaches using Object.fromEntries, and shows how to properly handle multiple values with the same key.
how did you like this issue? |