redux-eggs
devtools

redux-eggs | devtools | |
---|---|---|
2 | 49 | |
73 | 693 | |
- | 0.4% | |
3.8 | 9.4 | |
almost 2 years ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
devtools
- Show HN: Time travel debugging AI for more reliable vibe coding
-
Time Travel Debugging: Beyond Console.log
Tools like replay.io and Firefox's DevTools let you record your application's execution and play it back later. It's like TiVo for your code!
-
Don't Look Down on Print Debugging
Have you ever been able to try https://replay.io time travel debugging as an alternative to conventional logging?
Last time I tried it you were able to add logging statements "after the fact" (i.e. after reproducing the bug) and see what they would have printed. I believe they also have the ability to act like a conventional debugger.
I think they're changing some aspects of their business model but the core record / replay tech is really cool.
- rr – record and replay debugger for C/C++
-
A (Mostly) Complete Guide to React Rendering Behavior
Not at this time. I'm pretty full up at this point with day job ( https://replay.io ), conferences, and personal life stuff.
My current ongoing Redux maintenance task is trying to revamp our "Redux Essentials" tutorial to be TS-first. Making slower progress on that than I'd wanted, but hopefully can get that wrapped up in the not _too_ distant future.
Beyond that, we've got a ton of open RTK Query feature requests that I'd like to address later on this year.
-
Is Something Bugging You?
Exactly - that's what we've already built for web development at https://replay.io :)
I did a "Learn with Jason" show discussion that covered the concepts of Replay, how to use it, and how it works:
- https://www.learnwithjason.dev/travel-through-time-to-debug-...
Not only is the debugger itself time-traveling, but those time-travel capabilities are exposed by our backend API:
- https://static.replay.io/protocol/
Our entire debugging frontend is built on that API. We've also started to build new advanced features that leverage that API in unique ways, like our React and Redux DevTools integration and "Jump to Code" feature:
- https://blog.replay.io/how-we-rebuilt-react-devtools-with-re...
- https://blog.isquaredsoftware.com/2023/10/presentations-reac...
- https://github.com/Replayio/Protocol-Examples
- Weird Debugging Tricks the Browser Doesn't Want You to Know
- Evading JavaScript Anti-Debugging Techniques
-
Why does the `useSyncExternalStore`docs example call `getSnapshot` 6 times on store update?
I made a Replay recording of the sandbox:
-
Replay.io: announcing our new Replay for Test Suites feature! Time-travel debug Cypress (and Playwright) tests in CI
Hiya folks! In addition to all my free time spent working on Redux, answering questions, and modding this sub, my day job is working on Replay.io. Today we're thrilled to announce our new Replay for Test Suites feature, which lets you record and time-travel debug Cypress (and Playwright) E2E tests as they ran in CI!
What are some alternatives?
algo_v - A collection of sorting algorithms, complete with visualizations, designed to help learn and practice algorithms. 📊
re-frame-10x - A debugging dashboard for re-frame. X-ray vision as tooling.
redux-essentials-example-app - Example app for the Redux Essentials tutorial
pullstate - Simple state stores using immer and React hooks - re-use parts of your state by pulling it anywhere you like!
redux-templates - Official Redux templates for Vite, Create-React-App, and more
legend-state - Legend-State is a super fast and powerful state library that enables fine-grained reactivity and easy automatic persistence
