react-lua
react-lua copied to clipboard
A comprehensive translation of upstream React 17.x into Lua. This is a read-only mirror
When creating an element and the following conditions are met, React forcefully assigns a `key` prop to tables passed as children, which can trigger a misleading `createTextInstance` error if the...
Currently in the default host config for the scheduler, a new thread is made each time [`wrapPerformWorkWithCoroutine()`](https://github.com/Roblox/react-lua/blob/7a296abe17490a828cf34b47faa2b94b44054f9e/modules/scheduler/src/forks/SchedulerHostConfig.default.lua#L301) is called. When this is unnecessary given `performWorkUntilDeadline()` already uses `xpcall` and handles...
Rewrites ReactBinding to be cleaner, and also use less memory as its now properly using metatables. * Improve error messages * Removes use of pairs() * Removes impl table jank...
Adds the deprecated function attribute to every function exported by roact-compat. Checklist before submitting: * [x] Added/updated relevant tests * [x] Added/updated documentation