• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

90
Views
How to append react component into specific div?

I receive html as string from the backend:

'<div><p>Example<p><div>'

Then I parse it using html-react-parser. What I am trying to do afterwards, is to replace every table that I receive with my SmartTable component. As I understand, it would take following steps:

  1. Parse all data from tables
  2. Replace all tables with div containers with specified ids for each table
  3. Append SmartTable components into corresponding divs

I've done first two steps, but cant figure out the third.

Is it possible to acheive this in react?

almost 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error