How do I parse an HTML file in React Native?

后端 未结 3 838
借酒劲吻你
借酒劲吻你 2021-02-09 21:49

How can I get an HTML file from file system and parse specific elements from it.

For example, given the html snippet below, how can I extract the table content and rende

3条回答
  •  忘了有多久
    2021-02-09 22:43

    Just download HTML with fetch(), parse it using fast-html-parser, write result to state and render that state with WebView

提交回复
热议问题