Hacker News new | ask | show | jobs
Show HN: React-autocomplete-hint – Autocomplete without dropdown (github.com)
20 points by mudiaga 2055 days ago
2 comments

I was looking for a react autocomplete library without dropdown and was unsuccessful finding one, so I created react-autocomplete-hint also as a way to learn being that this is my first library and OSS contribution. PRs and contributions are welcome, Thanks.
Congrats on the first OSS repo. Looks great. It’s a pretty interesting and slick way to go about it.
Thanks Johnsonjo.
You achieved a very nice result, congratulations.
Thank you :)
Great job! Also, I think a combination of dropdown (to show possible words/tokens) and non-dropdown could be interesting

I tell myself is it possible to use your solution for autocomplete (code/content) writing?

Do you use tokens?

No it’s not possible to use this solution for autocomplete code/content writing but it’s quite interesting to think of the possibility. I wonder what would be required to make that happen and how it would turn out.

Also I’m not sure I understand what you mean when you say tokens, what are you referring to there?

Those who have written a compiler or parser once I think can understand what's token

https://en.wikipedia.org/wiki/Context-free_grammar https://en.wikipedia.org/wiki/Regular_grammar