Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergioramos/react-tvml
React bindings to Apple's TVJS and TVML
https://github.com/sergioramos/react-tvml
Last synced: about 2 months ago
JSON representation
React bindings to Apple's TVJS and TVML
- Host: GitHub
- URL: https://github.com/sergioramos/react-tvml
- Owner: sergioramos
- Created: 2015-09-10T00:37:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T14:36:34.000Z (about 4 years ago)
- Last Synced: 2024-10-12T16:09:32.471Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.19 MB
- Stars: 217
- Watchers: 14
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-react-renderer - react-tvml - React bindings to Apple's TVJS and TVML. (Television)
README
# react-tvml
**this is a very alpha release**
React bindings to Apple's [TVJS and TVML](https://developer.apple.com/library/prerelease/tvos/navigation/)
[![](http://g.recordit.co/qWrCpEb3MQ.gif)](https://cldup.com/u6sOUJLLE9.mp4)
(it's not this slow, click on the gif to see a video)## install
```bash
$ npm install --save react-tvml
```## example
[sprice/tvOS-hello-world-example](https://github.com/sprice/tvOS-hello-world-example)
## usage
```js
var React = require('react');
var TVML = require('react-tvml');var App = React.createClass({
render: function() {
return (
Loading...
);
}
});TVML.render();
```## 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