Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
¿Es posible inyectar un componente next.js en una aplicación existente (html + css + vanilla javascript)?

Actualmente construyo un SDK que convierte un componente React en un sitio heredado que utiliza principalmente HTML, CSS y javascript + jquery sin formato.

Hago algo como esto:

 document.addEventListener('DOMContentLoaded', () => { const wrapper = document.getElementById('wrapper'); const configuration = {...} app.loadElement(configuration, wrapper); })

Y en la parte del SDK, definí un método llamado loadElement que es algo como esto:

 function loadElement(configuration, wrapper) { ReactDOM.render(React.createElement(Element, { ...props }), wrapper); }

¿Alguna idea si hay alguna forma en que pueda mejorar este enfoque? ¿Hay alguna otra biblioteca que haga un mejor trabajo para este caso de uso en particular? ¿Puedo adoptar next.js para este caso de uso?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!