rfcs
react-18
Our great sponsors
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.
rfcs
-
Svelte 5: Runes
```
We started experimenting with this ling of thought almost 3 years ago:
- First take (ref sugar), Nov 2020: https://github.com/vuejs/rfcs/pull/228
- Take 2, Aug 2021: https://github.com/vuejs/rfcs/pull/368
- Take 3, Nov 2021: https://github.com/vuejs/rfcs/discussions/369
We provided it as an experimental feature and had a decent number of users trying it out in production. The feedback wasn't great and eventually decided to drop it. https://github.com/vuejs/rfcs/discussions/369#discussioncomm...
- A quick look at the new defineModel in Vue 3.3
-
Vue.js Reactivity System: Ref, reactive, shallowRef, & shallowReactive
This is a personal preference, but I use ref almost all the time. Despite tediously writing the .value to access the refβs value, the Vue team is aware of the problem, and the open RFC - Reactivity Transform, was aiming to solve this issue, however, seems like it was abandoned.
-
This New Vue 3.3 defineModel Macro Will Change The Way You Write Your Co...
To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/503.
-
The Rear-Vue Mirror: My Open-Source Origin Story
This was a good change. Evan has always been extremely good at putting his finger on the pulse of the frontend community. If there's a feature or paradigm that people love that would fit in Vue, Evan will incorporate it. Over the years, Vue has implemented (and sometimes later deprecated) dependency injection, JSX support, custom elements, Angular-style class components, Svelte-style ref sugar, and now Solid-inspired compiler optimizations. They even changed the order of a Vue file to match that of Svelte: first the script, then the template.
- Generic Vue components expected to land in v3.3 (finally!)
-
VUE3 goes back to callbacks instead of events?
Now the $on has been removed, but the event subject is causing some confusion, see: https://github.com/vuejs/rfcs/discussions/397
-
10 Mistakes to Avoid When Starting with Vue 3
The RFC has shown that this feature is very controversial, with lots of implications. Personally, I liked it at first, but now I'm against it.
-
Vue 2 end of life December 2023
Here is the Current language: https://github.com/vuejs/rfcs/blob/function-apis/active-rfcs/0000-function-api.md
-
Should we migrate from Vue2 to Vue3 for the current projects we have or just wait till the community gets stabilized?
Plus, even that there is a real possibility that the controversial Reactivity Transform RFC leads to a Vue 4 version, it is likely to bring just minor breaking changes from Vue 3.
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?
volar - β‘ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]
Preact - βοΈ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup
htmx - </> htmx - high power tools for HTML
pinia - π Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
petite-vue - 6kb subset of Vue optimized for progressive enhancement
pinia-shared-state - π Sync your Pinia state across browser tabs.
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]
unplugin-vue-components - π² On-demand components auto importing for Vue
React - The library for web and native user interfaces.
vuex - ποΈ Centralized State Management for Vue.js.
zustand - π» Bear necessities for state management in React