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
Post a Comment