return function(L,P)local function Y(Y,B,s)local y=P.createBlockingRoot(Y)y:render(L.createElement(B,s))return function()y:unmount()Y.Parent=nil end end return Y end
return function(Roact, ReactRoblox)
	local function bootstrap(rootInstance, component, props)
		local root = ReactRoblox.createBlockingRoot(rootInstance)
		root:render(Roact.createElement(component, props))

		return function()
			root:unmount()
			rootInstance.Parent = nil
		end
	end

	return bootstrap
end
