Comments (2)
Hi @delwar2016,
This would involve making modifications to Client
so that instead of making a single HTTP request we open a socket connection with a library like Socket.io. We would want to keep that connection over during the lifetime of the app. When changes are made to the search bar, we'd use the socket to send data. We would setup a listener in FoodSearch
that would update the component with search results whenever the socket received data.
If you have any specific questions, feel free to re-open/comment. You're also welcome to fork and implement a working demo!
from food-lookup-demo.
Hi @acco
Thanks for response. Yes, I will try again. And if I face any problem in that time i will mention it clearly.
from food-lookup-demo.
Related Issues (20)
- Cannot find module 'sql.js' HOT 3
- readme info didn't work for me HOT 1
- Proxy don't work after production build HOT 2
- Error on npm run server in the starting-point branch HOT 1
- No data showing
- Deploy to Heroku without create-react-app and with API HOT 1
- How to incorporate react-router? HOT 3
- Proxy error: Could not proxy request HOT 4
- Cannot get route when deployed to heroku HOT 18
- npm start produces page with no data HOT 2
- Please explain what the 'start-client.js' script is doing? HOT 2
- Can We use Single Package.json File For Both Node (Backend) and React (Frontend) and Can Run through single Script Command HOT 2
- Why create start-client.js HOT 1
- Invalid Host Header
- Example VSCode Launch Script Configuration
- Deploying manually
- Cannot GET /register on heroku server error
- Unable to access any of my routes when deployed to heroku...working fine on localhost HOT 1
- Cannot "npm install" HOT 1
- What about the api server being hosted ? 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 food-lookup-demo.