@rbxts/app-forge 0.7.2-prototype.4 → 0.7.2-prototype.5

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 +8 -7
  2. package/package.json +1 -1
package/out/renders.luau CHANGED
@@ -28,7 +28,8 @@ do
28
28
  super.constructor(self)
29
29
  self.__px = false
30
30
  end
31
- function Renders:Render(props)
31
+ function Renders:Render(_param)
32
+ local props = _param.props
32
33
  print(props)
33
34
  end
34
35
  function Renders:initalize(props, target, root)
@@ -50,18 +51,18 @@ do
50
51
  end
51
52
  if target then
52
53
  mount(if root then root else function()
53
- local _attributes = table.clone(props)
54
- setmetatable(_attributes, nil)
55
54
  return Vide.jsx("screengui", {
56
55
  Name = "App Tree",
57
56
  ZIndexBehavior = "Sibling",
58
57
  ResetOnSpawn = false,
59
- }, Vide.jsx(self.Render, _attributes))
58
+ }, Vide.jsx(self.Render, {
59
+ props = props,
60
+ }))
60
61
  end, target)
61
62
  else
62
- local _attributes = table.clone(props)
63
- setmetatable(_attributes, nil)
64
- return Vide.jsx(self.Render, _attributes)
63
+ return Vide.jsx(self.Render, {
64
+ props = props,
65
+ })
65
66
  end
66
67
  end
67
68
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-prototype.4",
3
+ "version": "0.7.2-prototype.5",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",