Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

90
Visualizações
How to load data for autosuggest

I am building a note-taking app where you can add tags to notes. When a user starts adding a new tag, I want to autosuggest the tag from all of its previous saved tags. How do I implement that? Do I request for the user's every previously saved notes, get tags and compare them with what the user is typing or do I maintain a collection of tags when the user is adding a note? What is the correct approach and how do we decide?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You have 2 options:

  1. Create a separate collection for tags, with the user id on them.
  2. Store user searched tags on local storage, and on the page, load retrieve all the tags, and search with it.
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda