Introduction
OTT applications are no longer limited to mobile phones and web browsers. Users expect the same streaming experience across Smart TVs, Android TV, set-top boxes and other connected devices.
As a frontend developer, I have been working with React.js to build OTT applications for Smart TV platforms such as Samsung Tizen, LG webOS and Vidaa. Recently, I started learning React Native to build an OTT application for Android TV.
Although both technologies use React and share concepts such as components, props, state and hooks, the development experience is quite different when the application runs on a TV.
- Rendering
- Memory usage
- Styling
- Remote-control navigation
- Performance optimization
This article shares some of the practical differences and challenges I observed while moving from React.js-based Smart TV development to React Native for Android TV.
React.js Smart TV vs React Native Android TV
The biggest difference is not the React syntax. It is where and how the UI is rendered.
Area |
React.js – Smart TV |
React Native – Android TV |
| Target platforms | Tizen, webOS, Vidaa and other web-based TV platforms | Android TV |
| Runtime | TV browser/web runtime | React Native runtime |
| UI components | HTML elements such as div, img, button | Native-oriented components such as View, Text, Image, Pressable |
| Styling | CSS | React Native StyleSheet / style objects |
| Rendering | React → DOM → browser rendering engine | React → React Native renderer → native platform views |
| Layout | HTML/CSS layout | Flexbox-based layout |
| Navigation | Web routing + custom TV navigation | React Native navigation + TV focus handling |
| Debugging | Browser DevTools, console, network tools | Metro, React Native DevTools, LogBox, ADB and Android tooling |
| Performance concerns | DOM, JavaScript, browser engine, CSS, images | JS thread, native views, rendering, images, lists |
| Large lists | DOM/list virtualization strategies | FlatList / SectionList |
| Platform limitations | Older TV browser engines can affect CSS/JS support | Android device/API and native platform behavior |
| Deployment | Platform-specific TV packaging | Android APK/AAB ecosystem |
For example, a React.js component may use as:

Building a movie card using standard HTML elements in React.js.
The equivalent React Native component would be:

Building the same movie card using React Native components.
The React concepts remain familiar, but the underlying rendering environment is different.
Rendering: Where the Big Difference Appears
This was one of the most important differences I noticed.
ScreenReact Component
React.js on Smart TV |
React Native on Android TV |
||||
| React Component ↓ React DOM ↓ HTML / CSS ↓ TV Browser Engine ↓ |
↓ React Native Renderer ↓ Native UI ↓ Android TV ↓ Screen |
React Native does not use the browser DOM. Instead, React Native components are rendered through its native UI system.
This means that although both applications use React, rendering performance and optimization need to be considered differently.
Styling: CSS vs React Native Styles
Styling was another noticeable difference when I moved from React.js Smart TV development to React Native. The overall goal is the same—build responsive and consistent UI—but the way styles are written and applied is different.
In React.js, I worked with regular CSS. Classes can be reused across components, and CSS supports features such as inheritance, cascading, pseudo-classes, and media queries.
For example:

Applying padding, text color, and title font size using CSS selectors.
The child element can inherit applicable properties from its parent, and styles can be controlled through CSS selectors.
In React Native, styles are generally defined using StyleSheet or style objects and applied directly to components:

Applying padding, text color, and font size using React Native styles.
One important difference I noticed is that React Native does not follow CSS inheritance in the same way as web CSS.
For example, setting color on a View does not automatically mean that nested Text components will receive that color. Text-related styles usually need to be applied to the Text component itself.
This required a small change in my approach. Instead of thinking in terms of CSS selectors and inheritance, I started thinking about which React Native component actually owns the style.
For TV applications, this becomes especially noticeable when building cards, focused states, labels, buttons, and navigation elements.
Memory Usage: Why TV Makes It Important
TV devices can have limited resources, while OTT screens can contain a lot of content at once—multiple rails, posters, banners, recommendations, EPG data, and metadata.
For example, if a screen has 10 rails with 15 cards each, loading every card and its full-size image at once can put unnecessary pressure on the device.
Instead of loading everything, we should focus on:
- Rendering only the items that are needed.
- Using appropriately sized images.
- Optimizing large lists.
- Avoiding unnecessary data in state.
- Removing screens, listeners, or resources that are no longer needed.
In React.js Smart TV, this mainly means controlling the DOM, images, and rendered content.
In React Native Android TV, similar problems can be handled with techniques such as FlatList optimization, image optimization, and controlling unnecessary renders.
Performance and Optimization
Performance is particularly important for OTT applications because users interact with the UI mainly through a remote control. Slow focus movement, delayed screen updates, or slow loading can make the application feel unresponsive.
A delay of even a few hundred milliseconds can make navigation feel slow when the user repeatedly presses: ↑ ↓ ← → OK BACK keys
Some optimization areas I focused on are:
1. Reduce unnecessary re-renders: Avoid updating components when their data has not changed. Techniques such as React.memo, useMemo, and useCallback can help when they solve an actual re-render or calculation problem. They should be used based on the situation rather than everywhere.
2. Optimize lists: For large content lists, React.js applications can use virtualization. In React Native, FlatList provides virtualization, and options such as keyExtractor, initialNumToRender, windowSize, and maxToRenderPerBatch can be adjusted according to the screen and device.
3. Optimize images: Using unnecessarily large poster or backdrop images can increase memory usage, network usage, decode time, and rendering cost. Images should be loaded at an appropriate size for the UI.
4. Additional Optimization Areas
- Debouncing search – Reduce unnecessary API calls while typing.
- API response caching – Reuse previously fetched data where appropriate.
- State management – Keep state localized and avoid unnecessary state updates.
- Navigation stacks – Avoid keeping unnecessary screens mounted in the navigation stack.
- Event listeners – Remove listeners when they are no longer needed.
- Timers – Clear setTimeout and setInterval when they are no longer required.
- Video-player resources – Release video-player resources when playback or the screen is no longer active.
- Large JavaScript bundles – Minimize unnecessary dependencies and code to reduce bundle size.
TV Navigation and Focus
Remote navigation is important in both React.js Smart TV and React Native Android TV. The main difference is how focus is handled.
In React.js Smart TV applications, I worked with DOM elements, keyboard events, and custom focus logic. For example, when the user presses Right, the application can detect the event and move focus to the next card.
In React Native Android TV, there is no DOM. Focus is handled through React Native components and Android’s focus system.
For example:

Detecting when a movie card gains or loses focus during remote navigation.
The interaction is the same, but the implementation changes because the underlying UI platform is different.
What I Learned Moving from React.js to React Native
Moving from React.js to React Native was easier because many core React concepts remained the same:
- Components
- Props
- State
- Hooks
- useEffect
- useMemo
- useCallback
- Context
- Conditional rendering
However, the platform-specific concepts required a different mindset.
<Pressable>CSSStyleSheetDOMNative UI
React.js |
React Native |
| <div> | <View> |
| <span> | <Text> |
| <img> | <Image> |
| <button> | |
The biggest learning for me was that React knowledge is reusable, but platform knowledge is equally important.
Understanding how the target device renders UI, handles input, manages memory, and exposes debugging tools is essential for building a good TV experience.
Conclusion
Working with React.js on Smart TV platforms and then learning React Native for Android TV helped me understand that building an OTT application for TV is quite different from building a regular web or mobile application.
The React concepts remain familiar, but the platform changes how we approach rendering, styling, memory, remote navigation, focus handling, and performance. I also learned that something that works well during development may still need optimization when tested on actual TV hardware.
For me, the biggest takeaway is that React knowledge is only one part of building a good TV application. Understanding the target platform and testing on real devices are equally important.
Moving from React.js to React Native was therefore not about learning React again, but about understanding how the same React concepts work in a different environment and adapting them to the requirements of TV applications.