项目作者: Teneff

项目描述 :
AppleTV TVML App POC in React
高级语言: JavaScript
项目地址: git://github.com/Teneff/react-appletv-app.git
创建时间: 2018-09-09T15:49:55Z
项目社区:https://github.com/Teneff/react-appletv-app

开源协议:

下载


TVML React App

POC React TVML application

The main goal is to check how the TVML application will be handled by react

Using

  • prop-types
  • @babel
  • eslint
  • gulp
  • webpack
  • React 16.4
  • axios
  • redux
  • css-loader
  • route-parser (not yed tested)

So far

It seems to be working despite the pascal-case tag and attributes warnings

Run

  1. // to install dependencies
  2. npm install
  1. // will serve http://localhost:9001/application.js
  2. npm start

Events

React synthetic events are not being fired

@TODO

take a look at the react/packages/shared/invokeGuardedCallbackImpl.js

To fire an event

we need to create a reference and attach an event listener

take a look at Form.jsx