react-sfc-swyx
react-18
react-sfc-swyx | react-18 | |
---|---|---|
1 | 139 | |
35 | 5,173 | |
- | 0.0% | |
10.0 | 0.0 | |
over 3 years ago | almost 3 years ago | |
TypeScript | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-sfc-swyx
-
CSS-in-JS not recommended in React 18. What are you using?
I dream of pasting my styles inside tags, just like Vue does. Unfortunately this idea never took off with React.
react-18
-
Simulate global state tradeoffs in React concurrent mode
If you aren't sure why state tearing was a hot topic a few years ago, when React's concurrent mode was first discussed, this github discussion should help: https://github.com/reactwg/react-18/discussions/69.
Tanner Linsley had a great post on twitter that suggested that concurrent rendering was fundamentally at odds with fine-grained reactivity, so to better understand what he was talking about I decided to write this demo.
- A modest request: How do you fetch data in React 18+ WITHOUT a third party dependency?
-
The Sisyphean Quest for Web Performance
Image Source: https://github.com/reactwg/react-18/discussions/37
-
useAsyncState in react, no more unnecessary useEffects.
But it does since React 18.
-
Function props
See this post for more details and an example of an actual memory leak.
-
ELI5, why is ReactDOM.createRoot an improvement over ReactDOM.render?
From the React WG:
- I know my component is re-rendering because a console.log I put in the component is logging in the console. However when I use the inspector to see why it re-rendered, its saying that it didnt re-render. How is this possible?
- Timeout in event handler
-
The current state of CSS-in-JS + React
The React working group is officially advising against using runtime CSS-in-JS.
- Warning abt setting state of unmounted component
What are some alternatives?
stylemapper - Flexible utility to create styled and type-safe React components
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
cva - Class Variance Authority
htmx - </> htmx - high power tools for HTML
petite-vue - 6kb subset of Vue optimized for progressive enhancement
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
React - The library for web and native user interfaces.
zustand - 🐻 Bear necessities for state management in React
rfcs - RFCs for substantial changes / feature additions to Vue core
vite - Next generation frontend tooling. It's fast!
prepack - A JavaScript bundle optimizer.
react-redux - Official React bindings for Redux