macder / ttc-react Goto Github PK
View Code? Open in Web Editor NEWReal-time TTC vehicle arrivals - NextBus
Real-time TTC vehicle arrivals - NextBus
No route selected
Route selected, Direction not selected
Route selected, Direction selected
bundle.js currently compiles to ~700KB - fairly large...
try to reduce by at least 250KB
There are cases a routes stop id returns more than one set of predictions
12-Kingston Road has these cases
create an App container to take some of this code
extract sub components from this tangle...
166 issues, this is why linting should be implemented before starting dev....
Clicking a prediction should show the vehicles location on a google map
many patterns have been revealed in the switches. Generalize into functions
eg, when values in search fields change, they should update the url. this way users could bookmark their search results
This is currently a bug with Semantic-UI-React
Will wait for update with fix, or perhaps might try to fix myself and submit pull request
fetchRouteConfig
and fetchRouteList
methods are practically the same
Generalize into single method
branch should be map with root keys as direction id's that contains array of prediction id's for that direction
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.