{"id":"haedrix/react-reconciler","name":"react-reconciler","scope":"haedrix","platform":"roblox","description":"The React reconciler — the renderer-agnostic core that powers React Luau renderers.","version":"17.3.10","latest":"17.3.10","versions":["17.3.7-pre.1","17.3.7-pre.2","17.3.7","17.3.10-rc.3","17.3.10-rc.4","17.3.10","17.3.10-rc.2","17.3.10-rc.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{"jsdotlua/luau-polyfill":{"version":"^1.2.7","alias":"LuauPolyfill"},"evaera/promise":{"version":"^4.0.0","alias":"Promise"},"haedrix/react":{"version":"^17.3.10","alias":"React"},"haedrix/react-globals":{"version":"^17.3.10","alias":"ReactGlobals"},"roblox/safe-flags":{"version":"^0.1.2","alias":"SafeFlags"},"haedrix/scheduler":{"version":"^17.3.10","alias":"Scheduler"},"haedrix/shared":{"version":"^17.3.10","alias":"Shared"}},"integrity":"2278b4ceb8a559409e88008c6fe5ba4456cfe9f273d873ec8eaafa43ba6a4bb1","likes":0,"downloads":0,"install":"forest install haedrix/react-reconciler","url":"https://forest.dev/p/roblox/haedrix/react-reconciler","files":"https://api.forest.dev/ai/package/roblox/haedrix/react-reconciler/files","readme":"# react-reconciler\r\nA Roblox Lua port of the `react-reconciler` package from React, which contains the core reconciler logic that drives the various renderers that can be attached.\r\n\r\nStatus: 🔨 Port in progress\r\n\r\nSource: https://github.com/facebook/react/tree/master/packages/react-reconciler\r\n\r\n---\r\n\r\n### ✏️ Notes\r\n\r\n#### Profiling\r\n\r\n```\r\nsrc/SchedulingProfiler.js\r\nsrc/__tests__/SchedulingProfiler-test.internal.js\r\n```\r\n\r\nProfiling logic used for debugging the Scheduler. Includes tests that produce flamegraphs of processed tasks. This functionality is gated behind the `enableProfiling` flag defined in `SchedulerFeatureFlags.js`. Additional functionality is gated behind the enableSchedulingProfiler in ReactFeatureFlags. When enabling the Scheduling Profiler, you'll need to plug in a table with a `mark` function to the `_G.performance` global, like this:\r\n```lua\r\n_G.performance = {\r\n\tmark = function(str)\r\n\t\tdebug.profileBegin(str)\r\n\t\tdebug.profileEnd(str)\r\n}\r\n```\r\n\r\n#### Debug Tracing\r\n\r\n```\r\nsrc/DebugTracing.js\r\nsrc/__tests__/DebugTracing-test.internal.js\r\n```\r\n\r\nDebug Tracing is enabled with the enableDebugTracing ReactFeatureFlag. The current Lua implementation outputs using Lua `print`, and strips out the color and styling versus upstream. We may want to more deeply customize this based on real-world use cases of Roblox UI developers.\r\n\r\n\r\n### ❌ Excluded\r\n\r\n```\r\nsrc/__tests__/ReactSuspenseList-test.js\r\n```\r\n\r\nThe initial release of Roact 17 includes support for Suspense, but not the unstable SuspenseList API. This was purely to pull in the delivery schedule and narrow the support surface for the initial release.\r\n","readmeTruncated":false}