@rbxts/app-forge 0.7.2-prototype.30 → 0.7.2-prototype.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/out/renders.luau +7 -2
  2. package/package.json +1 -1
package/out/renders.luau CHANGED
@@ -257,6 +257,9 @@ do
257
257
  end
258
258
  function Renders:initalize(props, target, root)
259
259
  if target then
260
+ local Root = function()
261
+ return root
262
+ end
260
263
  mount(function()
261
264
  if not self.__px then
262
265
  local _result = props.config
@@ -276,7 +279,9 @@ do
276
279
  end
277
280
  local _result
278
281
  if root then
279
- _result = root
282
+ local _attributes = table.clone(props)
283
+ setmetatable(_attributes, nil)
284
+ _result = (Vide.jsx(Root, nil, Vide.jsx(self.Load, _attributes)))
280
285
  else
281
286
  local _attributes = table.clone(props)
282
287
  setmetatable(_attributes, nil)
@@ -287,7 +292,7 @@ do
287
292
  }, Vide.jsx(self.Load, _attributes)))
288
293
  end
289
294
  return _result
290
- end)
295
+ end, target)
291
296
  else
292
297
  if not self.__px then
293
298
  local _result = props.config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-prototype.30",
3
+ "version": "0.7.2-prototype.32",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",