local C=require(script.Parent.Hook)local e=C:extend("\069\102\102\101\099\116")function e.init(C)local function e()C.handler()end C.node:register("\100\105\100\077\111\117\110\116",e)C.node:register("\100\105\100\085\112\100\097\116\101",e)end function e.use(e,C)e.handler=C end return e
local Hook = require(script.Parent.Hook)

local EffectHook = Hook:extend("Effect")

function EffectHook:init()
	local function proxy()
		self.handler()
	end

	self.node:register("didMount", proxy)
	self.node:register("didUpdate", proxy)
end

function EffectHook:use(handler)
	self.handler = handler
end

return EffectHook