You can now write React in Lua

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. react-lua

    A comprehensive, but not exhaustive, translation of upstream ReactJS 17.x into Lua. (by jsdotlua)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. luau

    A fast, small, safe, gradually typed embeddable scripting language derived from Lua

    For anyone interested:

    Roblox's Luau: https://luau-lang.org/

    > Luau is a fast, small, safe, gradually typed embeddable scripting language derived from Lua.

    > Around 2006, Roblox started using Lua 5.1 as a scripting language for games. Over the years the runtime had to be tweaked to provide a safe, secure sandboxed environment; we gradually started accumulating small library changes and tweaks.

  4. react-native-web-browser-app

    Not another wrapper around SFSafariViewController. A fully-featured, cross-platform web browser written in React Native.

    soon, everything will be in react. Your browser? React. OS? React. Car operating system? React.

    I thought I was making a joke and then googled some and here it is:

    https://github.com/shirakaba/react-native-web-browser-app

    https://reactos.org/

    https://star.global/posts/react-native-for-automotive/

    They were so preoccupied with whether or not they could that they didn't stop to think if they should

  5. reactos

    A free Windows-compatible Operating System

    soon, everything will be in react. Your browser? React. OS? React. Car operating system? React.

    I thought I was making a joke and then googled some and here it is:

    https://github.com/shirakaba/react-native-web-browser-app

    https://reactos.org/

    https://star.global/posts/react-native-for-automotive/

    They were so preoccupied with whether or not they could that they didn't stop to think if they should

  6. roblox-ts

    A TypeScript-to-Luau Compiler for Roblox

    You could write react in Lua for a while, for example for Roblox. And, it's very cool. There's also another project that compiles typescript to Lua: https://roblox-ts.com

    And that one supports writing pretty much actual React tsx but with Roblox primitives.

    One of my clients asked me to make a Roblox plugin, it was my first time, and I was very pleasantly surprised with this workflow. There are also tools to enable really high iteration speed. It felt nicer than Unity at some moments. I didn't really need to write or know any Lua at all!

  7. react-lua

    A comprehensive translation of upstream React 17.x into Luau. This is a read-only mirror.

    Seems to be the React/DOM conceptual model that has been "ported". Here is an example from the Robolox repo - https://github.com/Roblox/react-lua/blob/main/examples/chang...

  8. react-three-fiber

    🇨🇭 A React renderer for Three.js

    That parenthetical “or anything declarative really” is doing a lot of work, given that:

    React is a tool for writing 3D scenes that can handle state updates: https://github.com/pmndrs/react-three-fiber

    React is a tool for writing music that can handle state updates: https://github.com/FormidableLabs/react-music

    React is a tool for writing infrastructure-as-code templates that… um… could with some additional work handle state updates: https://www.linkedin.com/pulse/aws-terraform-generator-using...

  9. react-music

    Discontinued Make beats with React!

    That parenthetical “or anything declarative really” is doing a lot of work, given that:

    React is a tool for writing 3D scenes that can handle state updates: https://github.com/pmndrs/react-three-fiber

    React is a tool for writing music that can handle state updates: https://github.com/FormidableLabs/react-music

    React is a tool for writing infrastructure-as-code templates that… um… could with some additional work handle state updates: https://www.linkedin.com/pulse/aws-terraform-generator-using...

  10. teal-types

    Teal type definitions of Lua libraries!

    There's the official teal-types[1] project that aims to fill that gap only for standard Lua. I've used the LĂ–VE types[2] in the past.

    1: https://github.com/teal-language/teal-types/tree/master/type...

  11. love2d-tl

    Teal Type Definitions for LĂ–VE

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • 21st: NPM for design engineers – marketplace of shadcn/UI-based components

    1 project | news.ycombinator.com | 14 Jan 2025
  • Largest marketplace of shadcn/UI-based React Tailwind components

    1 project | news.ycombinator.com | 12 Jan 2025
  • Show HN: A simple image resizer to 3000x3000 pixels and an experience

    1 project | news.ycombinator.com | 9 Jan 2025
  • Lua Is So Underrated

    27 projects | news.ycombinator.com | 26 Dec 2024
  • React-toastify v11 - finally easy to customize

    2 projects | dev.to | 16 Dec 2024

Did you know that Lua is
the 18th most popular programming language
based on number of references?