Commit graph

187 commits

Author SHA1 Message Date
ernisto
fb30f84596 feat: derive no longer run twice 2025-04-11 00:53:43 -03:00
ernisto
7350cf1c54 fix(graph): update children if the output is the same, but is a un-frozen table 2025-04-08 21:35:19 -03:00
ernisto
54abda629b refactor: move parameter root_update_id to a new function bump_update_id 2025-03-24 18:35:48 -03:00
ernisto
21ed76f9e0 fix(graph): avoid repeatedly child of the same parent 2025-03-23 23:11:09 -03:00
ernisto
c078bd8022 fix: dont bump update_id if batch are enabled 2025-03-23 23:10:22 -03:00
ernisto
d8149f0648 fix: make springs and maps update descendants as root update 2025-03-16 17:58:28 -03:00
ernisto
1721c19da9 test: rename brother requires older brother to older brother requires newer brother 2025-03-15 20:49:30 -03:00
ernisto
edd6afd9bc chore: remove brother requires older brother print() 2025-03-15 20:48:12 -03:00
ernisto
26b5be7edf fix: make nodes before any update be invalid 2025-03-15 20:45:19 -03:00
ernisto
0935b5a7e2 chore: add debug patch for update queue 2025-03-15 12:09:02 -03:00
ernisto
2991e32682 style: improve commented graph illustrations 2025-03-15 12:00:32 -03:00
ernisto
5eb8b3db0d refactor: reuse flush_update_queue on update_descendants 2025-03-15 11:48:10 -03:00
ernisto
a37d5fb0df style: improve index var names, keep indentation 2025-03-15 11:47:19 -03:00
ernisto
da154877da perf: little adjustments on queue_children_for_update 2025-03-15 11:43:16 -03:00
ernisto
37c2dd9a5b fix: consider updated if update_id is the latest in your dependency tree, not in entire application 2025-03-15 11:34:38 -03:00
ernisto
121b30393c draft fix approach 2 2025-03-15 11:25:03 -03:00
EwDev
37e8e05206
Support nesting Parent (#48)
* allow nesting parent property

* update changelog

* fix mock instances Parent property not being a proxy

* add tests

Closes #47
2025-02-23 21:31:26 +00:00
HarryXChen
7064489a36
Fix typo in scope crash course docs (#46) 2025-01-17 02:06:54 +00:00
aaron
b7878753bd Update untrack() type to allow no return 2025-01-07 00:06:39 +00:00
aaron
a383c4ce69 Fix show() edge case 2025-01-06 23:56:49 +00:00
aaron
46a2043356 Ignore false passed as a child 2025-01-04 00:45:55 +00:00
aaron
c796e48173 Add source to show() callback 2025-01-04 00:40:51 +00:00
aaron
58a31a1b32 Try improve error reporting 2024-12-27 22:43:01 +00:00
aaron
3b22f6ccf9 Add spring setter 2024-12-27 02:34:31 +00:00
aaron
b44b9ef2ba Add implicit effects recursively creating more implicit effects for children 2024-12-27 01:00:45 +00:00
aaron
4c639f8388 Add flag to disable deferral of nested properties 2024-12-26 22:36:58 +00:00
aaron
ccaeb030f3 Remove aggregate construction 2024-12-26 21:17:14 +00:00
richard
3b8d9098c0
Use vector.max to check spring activity (#44)
* Use `vector.max` to check spring activity

* Revert unnecessary changes
2024-12-05 02:00:37 +00:00
aaron
caa9eaf733 Add thread cleanup helper 2024-11-28 01:00:11 +00:00
aaron
e60aa57ca2 Fix edge case with map functions 2024-11-27 19:43:51 +00:00
11poe
44fe65ee5e
Add create(a, { props }) syntax (#42)
* Add new create syntax

* Add new create syntax to changelog

* Fix new create syntax test
2024-11-16 20:20:49 +00:00
aaron
8799988851 Update github workflow Luau version 2024-11-16 18:55:37 +00:00
aaron
fdb4a137a8 Fix test require 2024-11-16 18:41:27 +00:00
aaron
f7e9961911 Fix library require 2024-11-16 18:38:23 +00:00
aaron
49cc551493 Switch from mock Vector3 to native vector lib 2024-11-13 22:35:16 +00:00
aaron
5abd5eee91 Update require paths to relative string 2024-11-13 22:19:20 +00:00
aaron
0897821e1f Add check for destruction of active scope 2024-11-13 21:56:22 +00:00
aaron
a1552402cb Rename tutorial sections 2024-11-12 15:15:16 +00:00
aaron
bacb4fa0f0 Fix mistakes in docs 2024-11-12 15:08:12 +00:00
aaron
baf308ccf3 Fix bug in code example 2024-11-04 23:27:28 +00:00
aaron
a3cc2dfbda Update docs 2024-11-04 23:18:04 +00:00
aaron
94add5d452 Update vitepress version 2024-11-03 17:46:45 +00:00
aaron
1edcd65166 Update docs 2024-11-03 17:37:41 +00:00
alicesaidhi
f8e84f9f8d
Improve Documentation Site (#41)
* update css and snippets

* Add banner

* improve home page

* Update Banner

* cleanup

* Update font to JetBrains Mono

* Add a quick look to Home

* Simplify Home Page

* Removed banner, removed copyright notice, reduced home page
2024-11-03 17:32:19 +00:00
aaron
f7dac3f63a Bump version to 0.3.1 2024-10-09 02:23:06 +01:00
aaron
6ead93088a Make context functions return result 2024-10-09 02:12:25 +01:00
aaron
1d565262e1 Bump version to 0.3.0 2024-10-06 18:16:31 +01:00
aaron
93a2a2c631 Make root() destroy scope if error occurs 2024-10-06 18:14:53 +01:00
aaron
c4e1396684 Fix typos 2024-10-06 18:12:25 +01:00
aaron
82eec61c45 Make root() return destructor automatically 2024-10-06 15:37:05 +01:00