@rbxts/app-forge 0.6.0-alpha.37 → 0.6.0-alpha.38

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.
@@ -40,6 +40,10 @@ do
40
40
  end
41
41
  function AppForge:bind(name, value)
42
42
  if not RunService:IsRunning() then
43
+ local _sources = self.sources
44
+ local _name = name
45
+ local _value = value
46
+ _sources[_name] = _value
43
47
  effect(function()
44
48
  return self.rulesManager:applyRules(name)
45
49
  end)
@@ -16,8 +16,12 @@ local function ParentRule(entry, forge)
16
16
  _condition = rules.parent == entry
17
17
  end
18
18
  if _condition ~= "" and _condition then
19
- local _name = name
20
- table.insert(children, _name)
19
+ local _sources = forge.sources
20
+ local _entry = entry
21
+ if not _sources[_entry]() then
22
+ local _name = name
23
+ table.insert(children, _name)
24
+ end
21
25
  end
22
26
  end
23
27
  for _k, _v in AppRegistry do
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.6.0-alpha.37",
3
+ "version": "0.6.0-alpha.38",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",