redux-eggs
vue-svelte-size-analysis
redux-eggs | vue-svelte-size-analysis | |
---|---|---|
2 | 18 | |
71 | 300 | |
- | - | |
3.8 | 0.0 | |
8 months ago | over 1 year ago | |
TypeScript | JavaScript | |
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.
redux-eggs
-
The new wave of React state management
We have docs on code splitting reducers and other Redux logic here:
- https://redux.js.org/usage/code-splitting
There have been some different community packages for helping with that process, but some of them seem to have become outdated (only worked with React-Redux v5, etc). I did see a new one at https://github.com/fostyfost/redux-eggs that seemed like it had potential, but I haven't had a chance to try any of them myself.
I also once saw someone play around with the idea of using React's still-not-technically-final Suspense support to help ensure that a lazy-loaded component that relies on a code-split reducer doesn't actually get rendered until that reducer's state is available. Don't have the link handy atm, but if someone wants it ping me and I can go figure out where that was described.
Also, the new RTK "listener" middleware was specifically designed to replace almost all saga usages, and you can dynamically add more listeners at runtime via dispatch an `addListener()` action:
- https://redux-toolkit.js.org/api/createListenerMiddleware
- https://blog.isquaredsoftware.com/2022/05/presentations-evol...
-
Why using Redux is inefficient for small/mid-sized apps?
I did see a recent package called https://github.com/fostyfost/redux-eggs which looked like it did the same kind of "add and remove modular chunks of Redux code" use case, but I haven't had time to try it out.
vue-svelte-size-analysis
- What things sveltekit offer better than other javascript frameworks?
- The State of JS 2022
-
A React Developer's First Take on Solid
but that's not true. see https://krausest.github.io/js-framework-benchmark/current.html. There is also a break-even point in bundle size where svelte gets larger compared to vue. see https://github.com/yyx990803/vue-svelte-size-analysis
-
What's next on your JavaScript framework radar for 2023? (Front End)
i did not ignore it. You can read about it here. There is break-even point where svelte falls off compared to vue as the application grows.
- Anyone know what these recent massive spikes in svelte & vue usage are from?
-
The new wave of React state management
The first version of React was released on 2013, it took almost 10 years for Suspense to exist (we _just_ got it now with React 18), that's what I'm talking about. Even functional components and hooks took a lot of time from them get and implement the idea after they tried to use ES classes and made everything much harder to manage. Context also isn't perfect, I like it but the redraw performance is not amazing and doesn't scale at all to bigger applications.
> https://github.com/yyx990803/vue-svelte-size-analysis
This is an interesting comparison I haven't seen before, I wonder if it's true for a complete application using some lib for state management, routing, etc. and if this isn't just a kind of cherry picked example. Thanks for showing this though.
-
All you need to know about the state of Vue.js in 2022
probably only true for small projects
- Solid.js feels like what I always wanted React to be
-
Memoirs of a lone JavaScript developer PART 2 : Svelte. An awful implementation of an old idea.
You are citing this: https://github.com/yyx990803/vue-svelte-size-analysis
-
JavaScript Framework TodoMVC Size Comparison
There isn't only the size of the runtime but the size of the component code. Not all components are equal. Templates in each framework compile differently. Evan You, creator of Vue put together a comparison between Svelte and Vue which was pretty illuminating.
What are some alternatives?
redux-dynamic-modules - Modularize Redux by dynamically loading reducers and middlewares.
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
react-native-redux-toolkit-starter-app - 📱🚀A POWERFUL React Native starter kit to bootstrap the start of your mobile app development
realworld - SvelteKit implementation of the RealWorld app
devtools - Replay.io DevTools
vue-native-core - Vue Native is a framework to build cross platform native mobile apps using JavaScript
redux-essentials-example-app - Example app for the Redux Essentials tutorial
algo_v - A collection of sorting algorithms, complete with visualizations, designed to help learn and practice algorithms. 📊
qwik - Instant-loading web apps, without effort
redux-templates - Official Redux templates for Vite, Create-React-App, and more
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.