Comments (2)
Great! Thanks to a happy coincidence, I was able to request and be assigned to a work task today: "Investigate a global state management solution." So there should be at least some overlap between that task and #54.
But going into it, I strongly suspect that the built-in React Context API will be the best/simplest solution.. We use it now at work, and I've also used Redux on a few other projects, but Redux seems like overkill for this.
@Alex-Cannon and @Vpr99, do you have experience with (or a preference for) using the Context API, Redux, MobX, and/or Apollo Client?
@airandfingers yes, I've used redux and useContext in place of redux. We should use useContext
and useReducer
to have the same result as using redux.
State can be managed is specific components if and only if that component uses that state exclusively. Otherwise, everything else should be in a giant state object.
- Message me on slack if you want more background / direction on this.
from fd-servicedirectory.
I'll start work on this this weekend.
from fd-servicedirectory.
Related Issues (20)
- Error Handling: Handle google sheet errors so the app won't crash HOT 5
- feature: Add metadata so services can get correct information from the site HOT 2
- Bug: On mobile, when the searchbar is clicked, make footer not sticky
- Feature: Create dockerfile
- Feature: Make site work offline (progressive web app). HOT 4
- Suggested edits to spreadsheet HOT 1
- Fixed footer obscures categories on categories page HOT 2
- Remove Lodash HOT 1
- Error Handling: setup error handling across the app
- Error handling: Extract and test sheet validation logic
- Error Handling: Create base Error page
- PWA: Cache the spreadsheet / app / api so that it's available offline
- Long lines in service content (URLs) break layout on narrow screens HOT 1
- Clean Code: Create a "displaySearchResults" component instead of doing it implicitly in search/index.jsx
- Use TypeScript HOT 1
- Bug: Set Default Icon
- Bug: When there are 0 search results, display "No Results"
- Testing: Add tests for new redux code with react-testing-library
- Add eslint rules for TypeScript
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 fd-servicedirectory.