REL1CX
@rel1cx.bsky.social
28 followers 45 following 13 posts
Open-source developer, dx, gamer, creator of http://eslint-react.xyz NOTE: No affiliation with Meta or facebook/react project or team
Posts Media Videos Starter Packs
rel1cx.bsky.social
"Where ReactNode represents everything that can be rendered, ReactElement only represents JSX"
rel1cx.bsky.social
If you narrow the children prop's type in ActivityProps, TypeScript will warn you that you can't use bare text as its child
rel1cx.bsky.social
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.
rel1cx.bsky.social
This was quite a forward-thinking article at the time—thanks for sharing!
jfmengels.bsky.social
I made a similar proposal years ago. I definitely think it's better though it does make it harder for tooling to alter the configuration.

jfmengels.net/configuring-...
What if ESLint's configuration worked like elm-review?
What if ESLint's configuration worked like elm-review?
jfmengels.net
rel1cx.bsky.social
Of 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
rel1cx.bsky.social
A fully functional ReactLynx example, configured to use the rulesets from eslint-react.xyz
github.com/Rel1cx/eslin...
rel1cx.bsky.social
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
rel1cx.bsky.social
Compatibility 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.
rel1cx.bsky.social
github.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 🤩
GitHub - drwpow/html-aria: WAI-ARIA utilities for HTML based on the ARIA 1.3 spec
WAI-ARIA utilities for HTML based on the ARIA 1.3 spec - drwpow/html-aria
github.com
rel1cx.bsky.social
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...
eslint-react.xyz
rel1cx.bsky.social
It's been a year since the 1.0 release of eslint-react.xyz 🎉