@table-js/core
v0.0.5
Published
Table.js core runtime - router, focus, navigation for Smart TV
Maintainers
Readme
@tablejs/core
Core runtime for Table.js - the Smart TV application framework.
Features
- File-based Router - Next.js-style app router with dynamic routes
- Focus Engine - Spatial navigation for TV remotes
- Platform Support - Works on Tizen, webOS, and Android TV
Installation
npm install @tablejs/core react react-domQuick Start
import { TableApp, defineRoutes } from '@tablejs/core'
const routes = defineRoutes([
{ path: '/', component: () => import('./app/page') },
{ path: '/movie/[id]', component: () => import('./app/movie/[id]/page') },
])
function App() {
return <TableApp routes={routes} />
}Documentation
Visit tablejs.dev for full documentation.
License
MIT
