Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

⚠️ Deprecated

This repository is no longer actively maintained and has been archived by the Security team. The repository is retained for historical and reference purposes and is read-only while archived. If this repository is required in the future, it can be unarchived. Please raise a request with the CodX team to have it unarchived.

react-tvml

this is a very alpha release

React bindings to Apple's TVJS and TVML

(it's not this slow, click on the gif to see a video)

install

$ npm install --save react-tvml

example

sprice/tvOS-hello-world-example

usage

var React = require('react');
var TVML = require('react-tvml');

var App = React.createClass({
  render: function() {
    return (<loadingTemplate>
      <activityIndicator>
        <text>Loading...</text>
      </activityIndicator>
    </loadingTemplate>);
  }
});

TVML.render(<App />);

todo (PRs are welcome)

  • Most of the code is copied from the react dom renderer. A lot of it needs to be removed and cleaned according to TVML use case
  • push vs replace document
  • some events
  • A lot of polish
  • Validations: e.g. some components can only be children of some specific components
  • consistent code style and linting
  • tests

license

BSD

About

React bindings to Apple's TVJS and TVML

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages