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

126
Visualizações
How to store formatted text in a database which will be rendered with both ReactJS and React Native?

Let's presume there are 4 parts to this problem:

  1. A UI which contains a WYSIWYG editor (text formatting, no images)
  2. Database to store the content from the WYSIWYG editor
  3. A ReactJS FE which renders the content with HTML and CSS
  4. A React Native FE which renders the content using RN components and styles

Q1. In what format should I store the content in the database? One example I could think of would be Markdown.

Q2. Following that, what's the best way to render the UI from that data format?

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

0

One way would be having a CMS(Content management system), which controls your content, and an independent Nodejs server that can serve it to you so you only have to set up the CMS in one place. If it would be rendering HTML or something similar I'm not too sure. But this seems like the approach for normal text/content.

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