Can React.js be used in Tizen web applications?

Original Created Jul 20, 2016 | Regeneration Apr 22, 2026

I'm trying to use React.js in a Tizen web application. When I import react.js and react-dom.js in the IDE and attempt to build, the build process gets stuck and doesn't complete.

I'd like to know:

  1. Is React.js usage supported in Tizen web applications?
  2. If it is supported, are there any specific methods or workarounds to make it work properly?

Problem Understanding

The issue occurs when trying to build a Tizen web application using React.js, where the build process gets stuck at 100% completion. This appears to be related to using the uncompressed versions of React libraries.

Solution Methods

  1. Use minified React libraries:

    • Replace react.js and react-dom.js with their minified versions (react.min.js and react-dom.min.js)
    • This typically resolves the build process hanging issue
  2. Include Babel for JSX transformation:

    • Add browser.min.js from Babel Core to handle JSX syntax
    • This is necessary for React component rendering
  3. Build process workaround:

    • If the build gets stuck, cancel and restart the build process
    • This temporary solution has worked for some developers

Code Examples

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="Tizen Mobile Application"/>
    <title>React Tizen App</title>
    <link rel="stylesheet" href="./lib/tau/mobile/theme/default/tau.css">
    <script src="build/react.min.js"></script>
    <script src="build/react-dom.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script>
    <script type="text/javascript" src="./lib/tau/mobile/js/tau.js"></script>
</head>
<body>
    <div class="ui-page" id="list-styles-page">
        <div class="ui-header" data-position="fixed">
            <h1>React App</h1>
        </div>
        <div class="ui-content">
            <div id="example"></div>
        </div>
    </div>
    <script type="text/babel">
        ReactDOM.render(
            <span>Hello, Tizen!</span>,
            document.getElementById('example')
        );
    </script>
</body>
</html>

Additional Tips

  • Always use the latest stable versions of React and Babel
  • Test your application in the Web Simulator before deploying
  • For React documentation and samples, refer to the official React documentation
  • If issues persist, try clearing the project and rebuilding

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.