pivot
redux-essentials-example-app
pivot | redux-essentials-example-app | |
---|---|---|
4 | 37 | |
15 | 295 | |
- | 1.7% | |
8.5 | 0.0 | |
9 months ago | 7 days ago | |
TypeScript | CSS | |
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.
pivot
- What are some of the best libraries you cannot work without?
-
Writing Integration Tests that Run Inside a Unit-testing Framework like Jest
We can construct our apps in a way that is headless, where the app itself works without needing to render anything to the DOM. This is what I'm doing with the Pivot framework. An app is created without anchoring to a DOM element, like this:
-
What is not taught in React courses, but is commonly used in a real job and overlooked?
The main benefit for me is testing. For example here I'm integration testing the app inside Vitest, so integration tests take just a few milliseconds and can be debugged much more easily in the IDE.
-
Redux vs Redux toolkit
I've done something similar. I love redux, but RTK is absolutely overkill and tightly couples your business logic to the framework. I ended up creating my own createSlice function and side-effects services: https://github.com/andyjessop/pivot/tree/main/packages/lib/slice
redux-essentials-example-app
- Redux vs Zustand
- Designing an async app as a long time backend engineer dedicated to synchronous pages. Help!
-
I was struggling with MVx architectures for years and now I can explain why
You're right, it is related. But I think that Flux- and ELM-like architectures are making it even worse by forcing any "external" interaction to became the gap. Look how they suffer when it comes to executing any async operation like network request. Initially we have this relatively simple framework, but then we had to add "Middleware" to just run network request (which is a good example of the Remainder issue). I love the idea behind these architectures, which makes logic more predictable and testing way easier. I even was using them by myself. But now they looks like something turned inside out for me. I believe we could do better. I'm finishing my proposal right now. It will take couple more weeks to edit and translate it, but soon I'll show what I mean.
-
JavaScript State Machines and Statecharts
Hi, I maintain Redux and wrote most of our docs (including our current tutorials).
Can you give some details on which parts of our docs you feel are "incomprehensible"? I'm curious which specific pages you've been looking at, and for what purpose.
We've tried to organize the docs using the "Documentation System" approach described at [0]: Tutorials for teaching step-by-step, Explanations and How-To guides for specific topics, and References for API details.
Generally we want people to go through our "Redux Essentials" tutorial [1] as the primary way to learn how to use Redux correctly. It teaches "modern Redux" patterns with Redux Toolkit as the standard way to write Redux logic (including RTK Query for handling data fetching), and React-Redux hooks in components.
I'm genuinely interested in feedback on what explanations aren't clear and how we can improve things!
[0] https://documentation.divio.com/
[1] https://redux.js.org/tutorials/essentials/part-1-overview-co...
- Best React Course 2023 (intermediate / advanced)
- Redux vs Redux toolkit
-
Redux, RTK, React Query, Typescript resources
https://redux.js.org/tutorials/essentials/part-1-overview-concepts (covers how to use Redux Toolkit and RTK Query)
- I don't get why I should use Redux
- What library or tool is causing you the most pain right now?
- Beginner’s guide to Redux
What are some alternatives?
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
zustand - 🐻 Bear necessities for state management in React
nivo - nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
redux-eggs - Add some Eggs to your Redux store.
vitest - Next generation testing framework powered by Vite.
hookstate - The simple but very powerful and incredibly fast state management for React that is based on hooks
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
devtools - Replay.io DevTools
Immer - Create the next immutable state by mutating the current one
scaffold-eth - 🏗 forkable Ethereum dev stack focused on fast product iterations [Moved to: https://github.com/scaffold-eth/scaffold-eth]
bulletproof-react - 🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.
scaffold-eth - 🏗 forkable Ethereum dev stack focused on fast product iterations