How to do server side autocompletion (networking parts)

1 · Abin Simon · March 26, 2019, midnight
So, recently I had to create an autocompletion for a chat app at work. We did not need anything fancy for the first cut. Sounded like a simple project. This was in React I initially thought of pulling in an existing library for it, but our requirements needed some special kind of autocompletion menu. Let me tell you what I mean by that. We build chatbots and this was the chat input window. So if we were building something for, lets say Netflix, the completion has to be able to something like thi...