raphamorim / react-tv

[ Unmaintained due to raphamorim/react-ape ] React Renderer for low memory applications
https://www.npmjs.com/package/react-tv
MIT License
2.01k stars 148 forks source link

Support canvas based components #24

Closed aitherios closed 5 years ago

aitherios commented 6 years ago

What do you think of something on the lines of:

class MyComponent extends ReactTV.CanvasComponent {
  ...
}

Or:

const MyComponent = canvasComponent(() => (
  <Rect .... />
))
raphamorim commented 6 years ago

Nice suggestion @aitherios 👍

raphamorim commented 5 years ago

Closing this issue in favor of React Ape (as secondary React-TV's renderer) https://github.com/raphamorim/react-ape