Pinned Tweet
react-runner v1.0.0 released, a modern alternative to react-live, a lightweight alternative to Sandpack for React
github.com/nihgwu/react-runn…
Neo Nie retweeted
By the end of 2024, you’ll likely never need these APIs again:
• useMemo, useCallback, memo → React Compiler
• forwardRef → ref is a prop
• React.lazy → RSC, promise-as-child
• useContext → use(Context)
• throw promise → use(promise)
• <Context.Provider> → <Context>
Got a inspiring comment on my React Slots RFC, though I'm still super pessimistic, React has been so hard for ui library authors 😢
137
Neo Nie retweeted
Naming rule: Case acronyms as words.
🚫 getURLParam
✅ getUrlParam
🚫 parseHTTPRequest
✅ parseHttpRequest
The second one is easier to read because it’s easier to see the words.
This is especially obvious with repeated acronyms:
🚫 parseRESTAPIURL
✅ parseRestApiUrl
Neo Nie retweeted
Virtualization on composite widgets:
→ The first and last items are always rendered so you can loop and jump to them.
→ The focused item is always rendered so you don't lose focus when scrolling.
Neo Nie retweeted
Introducing Relano ✨ - Create beautiful "What's new" videos and automate your OSS project's social media!
What does it do: 🧵
Video automatically created using Relano 👇🏼
Neo Nie retweeted
Wrote down a few details that make a good web interface. Mostly generic, somewhat opinionated.
rauno.me/interfaces
Neo Nie retweeted
I’ve been working on a new React-like framework in my spare time.
It’s fully compiler driven, there’s no virtual DOM, or component re-rendering. There are signals, but they’re never exposed to the developer and they’re also fully compiled to avoid any runtime lookups.
And…
Migrated a Design System website from Docusaurus to Nextra, the biggest reason is SSR in dev, so we can spot SSR issues earlier, made it work by migrating MDX1 -> MDX2, Live Code and navigation.
Docusaurus is awesome and much more flexible, but can I have SSR in dev?
91
Neo Nie retweeted
Watch this talk given by @_neonie to learn what is Slots and what does it mean to the React ecosystem, what's the current state and the future.
portal.gitnation.org/content…
Neo Nie retweeted
Thank you @_neonie for the help on this docs feature! It's powered by github.com/nihgwu/react-runn… and github.com/react-simple-code… by @satya164.
Neo Nie retweeted
Design Systems are important for every designer to maintain consistency and usability.
Here are 9 Design systems every designer should know
Thread🧵
#UIUXDesigner #uiux
TypeScript is still a mystery for me, spent hours to fix a weird type inferring issue that affected by it's surroundings, and turned out to be a one-line fix
2
Neo Nie retweeted
How does useEffect work? It doesn't 😅 @DavidKPiano is killing it #ReactAdvanced
Neo Nie retweeted
.@_neonie is a Web Software Engineer working on Design Systems at Revolut, passionate about Web Development, Frontend Frameworks, and Design Systems.
Dive deep into #ReactJS this October at #ReactAdvanced!
Neo Nie retweeted
Replying to @diegohaz
Yeah I can see ByTitle having some other semantic implications that are hard to cover by ByRole. ByLabelText for password fields. ByText for e.g. listitems. ByAltText(name) should really not exist in a browser though. It's more robust as ByRole('img', { name }).



















