"Where ReactNode represents everything that can be rendered, ReactElement only represents JSX"
10.10.2025 17:43 β π 1 π 0 π¬ 0 π 0@rel1cx.bsky.social
Open-source developer, dx, gamer, creator of http://eslint-react.xyz NOTE: No affiliation with Meta or facebook/react project or team
"Where ReactNode represents everything that can be rendered, ReactElement only represents JSX"
10.10.2025 17:43 β π 1 π 0 π¬ 0 π 0If you narrow the children prop's type in ActivityProps, TypeScript will warn you that you can't use bare text as its child
10.10.2025 17:33 β π 1 π 0 π¬ 1 π 0Announcing eslint-react.xyz v2.0.0: Now ESM-Only
eslint-react.xyz/docs/release...
A shift is happening: State management is returning to React's built-in APIs, while third-party libraries are pivoting to focus on effect management rather than state management.
18.08.2025 09:18 β π 1 π 0 π¬ 0 π 0This was quite a forward-thinking article at the timeβthanks for sharing!
11.07.2025 11:06 β π 1 π 0 π¬ 0 π 0Of all current TS linters, this one comes closest to the "rules as functions" design philosophy
This means you can define, document, export, import, hover, jump to definition, and deprecate custom rules (and their options) just like ordinary JavaScript functions with types and JSDoc
A fully functional ReactLynx example, configured to use the rulesets from eslint-react.xyz
github.com/Rel1cx/eslin...
Compatibility testing for react-x rules with Lynx and React Strict DOM (RSD) is underway. If everything goes as expected, the rules should naturally support these new platforms without needing any changes, cus we don't make assumptions about the platforms used in your tech stack
30.06.2025 21:19 β π 0 π 0 π¬ 0 π 0Compatibility testing for eslint-plugin-react-x rules with Lynx and React Strict DOM (RSD) is underway. If everything goes as expected, these rules should naturally support these new platforms without needing any changes, because we don't make assumptions about the platforms used in your tech stack.
06.05.2025 02:44 β π 1 π 0 π¬ 0 π 1github.com/drwpow/html-...
The best alternative to aria-query for creating accessible HTML based on the [latest ARIA 1.3 specs](www.w3.org/TR/wai-aria-...) and latest [HTML in ARIA](www.w3.org/TR/html-aria/) recommendations. Lightweight, performant, tree-shakeable, and 0 dependencies π€©
The newly added React 19 rules comes with built-in codemods that let you refactor components to the new APIs right in the editor or by simply running `eslint . --fix` from the terminal
eslint-react.xyz/docs/rules/n...
eslint-react.xyz/docs/rules/n...
eslint-react.xyz/docs/rules/n...
Check out the roadmap for version 2.0 here eslint-react.xyz/roadmap#mile...
07.01.2025 06:42 β π 1 π 0 π¬ 0 π 0It's been a year since the 1.0 release of eslint-react.xyz π
07.01.2025 06:34 β π 1 π 0 π¬ 0 π 0