How to replace HTML with Native Components in React Native? -


i have api thats outputting html content <p> tags , hrefs. whats best way go in react native? should converted <text> components or should render html using else?

you may want consider having api return json rather html. (if not possible, create second endpoint returns json.) once have json data fetched, can assemble ui needed using native components react native provides.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -