77 *
88 * @flow
99 ]]
10- local Packages = script .Parent .Parent
11- local LuauPolyfill = require (Packages .LuauPolyfill )
10+ local LuauPolyfill = require (" @pkg/@jsdotlua/luau-polyfill" )
1211-- ROBLOX deviation START: unnecessary import
1312-- local Boolean = LuauPolyfill.Boolean
1413-- ROBLOX deviation END
@@ -21,7 +20,7 @@ local inspect = LuauPolyfill.util.inspect
2120-- ROBLOX deviation END
2221-- ROBLOX deviation START: use console from React Shared
2322-- local console = LuauPolyfill.console
24- local console = require (Packages . Shared ).console
23+ local console = require (" @pkg/@jsdotlua/shared " ).console
2524-- ROBLOX deviation END
2625type Map < T , U > = LuauPolyfill .Map < T , U >
2726local exports = {}
@@ -31,13 +30,13 @@ local deleteEntry
3130-- ROBLOX deviation START: fix import
3231-- local sharedReactTypesModule = require(Packages.shared.ReactTypes)
3332-- type Thenable = sharedReactTypesModule.Thenable
34- local ReactTypes = require (Packages . Shared )
33+ local ReactTypes = require (" @pkg/@jsdotlua/shared " )
3534type Thenable <R> = ReactTypes .Thenable <R>
3635-- ROBLOX deviation END
37- local React = require (Packages . React )
38- local createLRU = require (script . Parent . LRU ).createLRU
36+ local React = require (" @pkg/@jsdotlua/react " )
37+ local createLRU = require (" ./ LRU" ).createLRU
3938-- ROBLOX deviation START: add this type in an attempt to tighten up the types to detect bugs found manually
40- local LRU = require (script . Parent . LRU )
39+ local LRU = require (" ./ LRU" )
4140type Entry <T> = LRU .Entry <T>
4241type Record < K , V > = { [K ]: V }
4342-- ROBLOX deviation END
@@ -71,7 +70,7 @@ local Rejected = 2
7170local ReactCurrentDispatcher =
7271 -- ROBLOX deviation START: import from Shared package
7372 -- React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher
74- require (Packages . Shared ).ReactSharedInternals .ReactCurrentDispatcher
73+ require (" @pkg/@jsdotlua/shared " ).ReactSharedInternals .ReactCurrentDispatcher
7574-- ROBLOX deviation END
7675local function readContext (Context , observedBits )
7776 local dispatcher = ReactCurrentDispatcher .current
0 commit comments