Comments (4)
Why do we not make use of the new Context API instead? In other words: What is the exact use case that prevents us from using Context API in favor of redux?
from aeons-end-randomizer.
context is nice but pretty barebones. Its not an alternative for redux and isn't meant to be. E.g. we miss out on debugging capabilities as well as organizational structure. While we could mimic some of this with excessive use of context
and Reacts useReducer
it still wont be the same. Furthermore it enables the use of middlewares, which will be pretty helpful going forward.
Context is nice for many things and is even used by redux under the hood. When I started the App it made sense to use it initially. But in my opinion the app reached a point where I would like to manage Application state in a sane way and Redux enables us to do so.
from aeons-end-randomizer.
To add to the stuff above: I don't think adding redux is bad in any way. To me it feels like the app reached that point very naturally. And in hindsight I would say that it was a great move to start without it. This way I got a better feeling for when Redux is actually necessary and when we can live without it.
from aeons-end-randomizer.
Thoughts:
One MR, but integrate step by step:
- Settings first
- Nemesis
- Mages
- Supply
- TurnOrder
from aeons-end-randomizer.
Related Issues (20)
- Docker-Compose Setup
- Adding Optional Content Settings HOT 7
- Randomize Basic Nemesis Cards in Expeditions
- [Bug] Mages are visible even after recruiting new mages in the mages randomizer HOT 1
- "Sort by Wave" inside the settings
- Add an option to draw unique mage names HOT 1
- Remove Google-Fonts/Icons usage via CDN
- Data reset HOT 1
- Add wave titles to expansions
- LoG: upgraded nemesis card "Stifle" has wrong tier
- Buried Secrets Polish translation
- I would like to translate the Buried Secrets expansion to polish HOT 2
- Navigate to created expedition immediately HOT 3
- Error when canceling the creation of a custom supply setup
- Add snackbars where they are useful
- Option to pair Tethers
- Migrate to redux-toolkit, remove rex-utils, upgrade dependencies
- Polish Translation Card Mixup HOT 1
- Various Sorting mechanisms inside expansion overview
- Quickly disable cards by tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aeons-end-randomizer.