They are referring to the Lua translation of upstream React. See GitHub - jsdotlua/react-lua: A library for building user interfaces in Lua..
Thank you for officially releasing these! I think having the option of using the git repo or the creator marketplace package is great.
This is awesome. Glad to see Roblox open sourcing libraries for a community who will happily contribute quality material. Huge thanks to the team who’ve helped at Roblox.
Hell yeah, super cool, you might want to tag them on github as well or put them in a list!
Yooo, this is really cool!
Lua (and Luau) have been such underrated languages over the years of it’s existence.
I would actually prefer using Lua(u) over languages like Python or JavaScript.
Glad to see that Lua(u) is slowly becoming more recognized and used.
Absolutely incredible! Several of these libraries have been implemented previously in community-maintained packages, but seeing them officially supported by Roblox is great! dash, regexp, polyfill, and signal look particularly useful, and it’s amazing to see Roblox supporting both the Roblox open-source community and the wider Lua open-source community with these libraries as well.
official react17 wen
It’s great that Roblox is open to community input for Luau. Lua and Luau have a lot of potential, especially with the community working on it (at least that’s what I think if I understood the post right).
I know Swift, is this like:
import MyAwesomeService
in Swift, but in LuaU, you would do:
game:GetService("MyAwesomeService")
?
Or is it something else?
i think you meant require(path.to.library)
Adding on to this, over the past two weeks, we have made some pretty extensive plans for translating packages from the React Native ecosystem into Lua. We’re prepared to do these translations by hand, but again, having JS-to-Lua would significantly help our workflow.
Below is a very rough overview of the significant UI-related packages we will be uplifting into Lua. It only includes the libraries that directly influence our UI, but there are also other packages we will be translating, primarily analytics and telemetry clients and utilities.
Our goal is to have a mobile development workflow on Roblox that rivals that of React Native developers. We want to build a suite of OSS tools and libraries for constructing mobile-first apps using the Roblox engine. Eventually, our UI should feel like a 100% native mobile app.
The next set of repositories have just been released!
- js-to-lua: Conversion tool for migrating JS/TS code into Luau.
- graphql-lua: A reference implementation of GraphQL for Roblox Lua.
- graphql-tag-lua: A Lua template literal tag that parses GraphQL queries.
Haha I spoke too soon in my previous reply. Thanks so much for this; our team will be investing heavily in the tech!
fwiw zustand has already been ported through roblox-ts so you could probably just cleanup that code
Look! Four new presents under the tree.
(We’ve released our next set of repositories)
- react-lua: A comprehensive translation of upstream React 17.x into Lua.
- roact-navigation: A declarative navigation system for App UI, built on top of Roact.
- roact-performance-benchmarks: Performance benchmarks for Roact.
- apollo-client-lua: Apollo Client for GraphQL translated to Lua.
Thank you, Christmas came early this year!
I can’t wait until react-lua
has some documentation on migrating from Roact and installing it in projects outside of Roblox. I tried copying the example into one of our projects and I hit some difficulties as there are a lot of imports relative to folders called Packages
. I suspect folders named Packages have contents generated by rotriever or some other internal package management tool.
Anyhow, it’s only been a few hours, so no worries. Thanks for sharing this awesome work with everyone on GitHub and I’m excited to use it soon!
Amazing, bit disappointed to see roact go and react-lua to take it’s place without access to any proper documentation or the comparability layer that keeps getting mentioned in the README.
Will we ever see RoactCompat being released at one point to ease this transition phase to react-lua from roact?
This is huge news!! Thank you for officially releasing react-lua
Will Rotriever or a Rotriever-compatible package manager be released? The documentation references Rotriever and those links are broken externally.
The reason why I mention it is that we could manually build the packages for those modules, but it may be error prone and everyone would have to discover and replicate that process for themselves if it wasn’t documented.