【问题标题】:Is it possible to use React without outputting HTML?是否可以在不输出 HTML 的情况下使用 React?
【发布时间】:2016-05-25 12:06:36
【问题描述】:

是否可以使用 React 或 React Native 来构建嵌入式设备以及网络,例如三星智能电视、Kindle 设备等。

可能为 Web 输出 HTML,但为其他设备输出类似于 XML。

【问题讨论】:

  • React Native 不呈现 html。它为 ios/Android 渲染原生 UI 组件。
  • 但是有没有办法为其他设备渲染原生 UI 组件?

标签: reactjs webview react-native television


【解决方案1】:

React Native 默认渲染为:

  • 网络
  • 安卓
  • iOS

但是,对于 react-tvreact-apeRN For Windows (which can render to MacOS and Xbox too) 之类的东西,可能性是无穷无尽的。

【讨论】:

    猜你喜欢
    • 2014-04-02
    • 2021-09-16
    • 2013-06-13
    • 1970-01-01
    • 2020-09-03
    • 1970-01-01
    • 2011-10-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多