Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

208
Vistas
How to use html, css, jss and assets in react native webview?

I want to use html, js, css and assets in my react native webview. I tried a lot but only things worked for me is passing html as string source.

But I want to import files and use them in react native webview. Also not getting much useful help in google.

Is it possible to use them by importing or any workaround for it.

Any kind of help will be appreciated. Thank you.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I thought about this for a while and while there might be sth you can do for the JS stuff using injectedJavaScript I can't think of anything for HTML and CSS.

When I was using Electron with react, what I used to do was to write my react code and then use ReactDOMServer's renderToString (description here) to parse my react code with all its resources back to a string which I then injected into the page (images and other assets loaded fine).

I'm just not sure if you CAN use ReactDOMServer in React Native.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda