react-times | A time picker react component | Datepicker library
kandi X-RAY | react-times Summary
kandi X-RAY | react-times Summary
A time picker react-component, no jquery-rely, writing in es6 standard style.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Loads histories .
react-times Key Features
react-times Examples and Code Snippets
Community Discussions
Trending Discussions on react-times
QUESTION
long time i didn't had to write a post here. I guess i am really stuck... I built long time ago a monolithic app based on react and express that was handling a chat with socket.io. I remember i did struggle a little but at the end i make it work.
I am now reconverting the same app into microservices with kubernetes (on GKE) and after build the chat backend and the front, i just cannot make the chat work. It's seems somehow the socket.io instances are not connected. I tryed a lot of different things and i am now asking help regarding it. I will share bellow the parts of the code that are implying it.
CHAT BACKEND WITH EXPRESS:
There i am declaring a middleware to pass io as req.io to be able to use in a specific endpoint. This part work fine (at least it's seems to me)
...ANSWER
Answered 2020-Dec-05 at 22:46I found a solution there for the people that might struggle like me...i think it's a bit of hacky but it work well.
I was observing in my front that the socket were all the time triggering under the /socket.io/.... and if you take a look at my ingress nginx that would look into my react app and return a 404 page probably.
So i forced my chat-srv to be present there on this specific endpoint with the following code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-times
moment
react
react-dom
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page