星期一 04 凌晨 五月 15o 2023
React reconciliation: how it works and why should we care
React reconciliation: how it works and why should we care
Looking in detail into how React reconciliation algorithm works. Explore in the process quirks of conditional rendering, the ‘key’ attribute, and why we shouldn’t declare components inside other components.
Create & discover up-to-date documentation in your IDE (sponsor)
Dev teams lose 4 hours a week on app switching. Swimm helps you get some of that time back. Create internal code documentation, find it right in your IDE, and trust Swimm to keep them up to date automatically (!!!). Available for VS Code and JetBrains.
A Guide To Redux Toolkit With TypeScript
The Redux Toolkit documentation calls the library a better way to write Redux logic for React apps and a simple and efficient toolkit for Redux development. In this article, you will learn about the Redux toolkit by building an app that tracks project issues.
5 Lessons Learned From Taking Next.js App Router to Production
What did we learn from building and shipping our new app with the Next.js 13 App Router?
Understanding useRef and useState for Tracking Component Render Count in React
In this blog post, we’ll explore a practical example of using useRef and useState together to track the render count of a React component. By the end, you’ll have a better understanding of why useRef is essential for certain scenarios, and how it can complement useState in managing component behavior.
TelemetryHub: An easy to use, full-stack application monitoring tool (sponsor)
A flexible application monitoring tool that doesn’t break the bank. Use TelemetryHub for your logs, traces or metrics…or all three!
The Safest Way To Hide Your API Keys When Using React
Want to make sure your API keys are safe and sound when working with React? Jessica Joseph’s got you covered! She will show you the best ways to hide your API keys, from using environment variables to building your own back-end proxy server.
React Aria Components is a library of unstyled components built on top of the React Aria hooks. It provides a simpler way to build accessible components with custom styles, while offering the flexibility to drop down to hooks for even more customizability where needed.
React Global State as Local State
useGlobalState hook for working with the global store in React.
详细研究 React 协调算法的工作原理。探索条件渲染过程中的怪癖、“key”属性,以及为什么我们不应该在其他组件内声明组件。
在 IDE 中创建并发现最新文档(赞助商)
开发团队每周在应用程序切换上损失 4 个小时。游泳可以帮助您重新获得一些时间。创建内部代码文档,在您的 IDE 中找到它,并相信 Swimm 会自动使它们保持最新(!!!)。适用于 VS Code 和 JetBrains。
Redux Toolkit 文档称该库是为 React 应用程序编写 Redux 逻辑的更好方法,也是用于 Redux 开发的简单高效的工具包。在本文中,您将通过构建一个跟踪项目问题的应用程序来了解 Redux 工具包。
从 Next.js App Router 投入生产中汲取的 5 个教训
我们从使用 Next.js 13 App Router 构建和发布新应用程序中学到了什么?
了解 React 中用于跟踪组件渲染计数的 useRef 和 useState
在这篇博文中,我们将探讨一个结合使用 useRef 和 useState 来跟踪 React 组件的渲染计数的实际示例。最后,您将更好地理解为什么 useRef 对于某些场景至关重要,以及它如何在管理组件行为方面补充 useState。
TelemetryHub:一款易于使用的全栈应用程序监控工具(赞助商)
一个灵活的应用程序监控工具,不会花太多钱。使用 TelemetryHub 记录您的日志、跟踪或指标……或三者兼而有之!
想要确保您的 API 密钥在使用 React 时安全无虞?杰西卡·约瑟夫可以满足你的需求!她将向您展示隐藏 API 密钥的最佳方法,从使用环境变量到构建您自己的后端代理服务器。
React Aria Components 是一个构建在 React Aria hooks 之上的无样式组件库。它提供了一种更简单的方法来构建具有自定义样式的可访问组件,同时提供了下拉挂钩的灵活性,以便在需要时实现更多的可定制性。
useGlobalState 钩子用于在 React 中使用全局存储。
发布者