Comments (11)
PRs welcome 😄
from velocity-pwa.
Alternatively we can consider changing the poll interval to 20s.
from velocity-pwa.
Alternatively we can consider changing the poll interval to 20s.
Don't do it
from velocity-pwa.
Wenn ihr SSE einbaut mache ich das vllt wirklich.
from velocity-pwa.
Can you access SSE on a domain that your frontend is not hosted on?
from velocity-pwa.
Not sure, but proper CORS headers will resolve that.
from velocity-pwa.
Not sure though about adding a dependency to your servers. How's your uptime been?
from velocity-pwa.
Access-Control-Allow-Origin: *
will be regeling!
from velocity-pwa.
This will actually require a large(ish) refactor of the hooks code, because currently it's all based on wrapping the official REST API and polling periodically.
from velocity-pwa.
That's why we're using Redux for state management and time-traveling debugging. But I can see why you chose a different solution based on your requirements. Not sure how to best adapt/combine both..
from velocity-pwa.
Well, at least the data fetching would need to be changed. This would be possible and the hook surface wouldn't need to change much (if at all). Redux wouldn't really provide an advantage here. (In redux you'd change your data layer that would be made with saga or thunk or something)
from velocity-pwa.
Related Issues (20)
- Host tiles ourselves HOT 1
- Increase visibility of which slot is rented when renting the most-charged bike
- Stations with only rented bikes (not by ourselves) can be opened HOT 1
- Reloading causes slight shift in map HOT 3
- Toasts do not hide when they've been suspended for some time. HOT 2
- Consider showing current ride length / info
- Consider marking rides past 30 mins in a different color HOT 4
- Consider placing a "Report problem with bike" button in each ride history element HOT 1
- When ride is ongoing, show stations with no available slots as red
- Show Bike IDs for Slots HOT 1
- Rename 'book' to 'reserve'
- Display date string in correct locale HOT 2
- Consider implementing `contingent` info
- Invalid pin response should delete saved pin
- Don't request `/bookings/` when not logged in HOT 1
- Don't crash when `fees` in undefined HOT 1
- Booking is broken HOT 4
- More detailed tariff info when exotic tariff is booked
- JWT refresh logic
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 velocity-pwa.