Aaron Smith
d07c705b64
Fix switch() not working in strict mode
...
Fixes #20
2023-09-27 10:02:09 +01:00
Aaron Smith
32fa44f4c5
Cleanup helper for instances
...
Closes #19
2023-09-26 14:34:27 +01:00
Aaron Smith
d1f86a3f9e
Allow untrack() in non-reactive scopes
...
Closes #17
2023-09-26 14:11:33 +01:00
aaron
c68d0a6c18
Allow creation of nested tracking scopes
...
It turns out that handling destruction of a nested tracking scope was
not as difficult as I thought and didn't need much changes
2023-09-25 23:37:51 +01:00
aaron
38342b3805
Disallow creation of nested tracking scopes
2023-09-25 11:44:24 +01:00
Aaron Smith
cc4b390d3d
Auto strict mode based on optimization level
2023-09-20 12:23:51 +01:00
Aaron Smith
8b4210e66a
Add error handling for no properties specified
2023-09-20 12:11:29 +01:00
Aaron Smith
835f4d429b
Add check for unstable spring parameters
2023-09-20 11:39:44 +01:00
Richard
a543a24865
Revert "Echo initial value if given a source"
...
This reverts commit 16e2983c54758cabfb1ddd102090f20083820d03.
2023-09-19 19:21:25 +01:00
Richard
109cca45f3
Echo initial value if given a source
2023-09-19 19:21:25 +01:00
Richard
f733647031
Add read()
2023-09-19 19:21:25 +01:00
Aaron Smith
250c13e7b8
Fix edge case bugs in reactive graph updates
2023-09-19 12:07:49 +01:00
Richard
d1da0b4ea5
Add show()
2023-09-18 16:19:53 -07:00
aaron
c4a0180a2f
Improve error messages for derived sources
...
There seemed to be confusion over reactive-scoping (likely due to
incomplete docs), so I've added more explicit error messages when
deriving in non-reactive scopes to warn the user to use `root()` or
`mount()`.
2023-09-18 09:40:54 +01:00
aaron
6090e0fc87
Fix mount error trace
2023-09-16 00:15:03 +01:00
aaron
efc4798ddb
Merge reactive scope refactor
2023-09-15 12:54:42 +01:00
littensy
f111105c5f
Fix actions receiving nil instance
...
Action callbacks were being called with 'nil' instead of an instance. This commit fixes the action buffer type and passes 'instance' to the action callback.
2023-08-27 19:39:54 -07:00
aaron
4dc12e0157
Update UI layout instance defaults
2023-08-28 02:19:54 +01:00
aaron
e6a6eff821
Fix bug with UDim aggregate init
2023-08-28 02:08:38 +01:00
aaron
f39774082a
Add check for recursive capturing
2023-08-28 01:27:31 +01:00
aaron
38f8e8d9c5
Add control over spring solver step
2023-08-26 14:59:19 +01:00
aaron
5ab76a434e
Update spring tests
2023-08-26 14:49:46 +01:00
aaron
be59b24851
Fix spring not recognising roblox types
2023-08-25 11:18:13 +01:00
aaron
64d2a1f55c
Stop resizing of weak tables
2023-08-25 11:17:48 +01:00
Aaron Smith
8ef2d0b190
Update spring solver
2023-08-24 18:09:40 +01:00
Aaron Smith
6764d34ce1
Fix type error
2023-08-22 16:16:04 +01:00
Aaron Smith
a3f03fd067
Refactor codebase
2023-08-22 15:50:03 +01:00
Aaron Smith
07ae542e28
Add apply()
2023-08-22 13:52:55 +01:00
Aaron Smith
6700e1b1f6
Add untrack()
2023-08-22 12:12:03 +01:00
Aaron Smith
0105e33fac
Limit cleanup() calls to once per scope
2023-08-22 11:46:56 +01:00
Aaron Smith
2aebaf5abb
Add aggregate initialization
2023-08-22 11:15:27 +01:00
aaron
be15f69522
Improve error trace reporting
2023-08-21 21:57:11 +01:00
Aaron Smith
463faee85a
Add cleanup for indexes() and values()
...
More testing required.
2023-08-17 14:44:45 +01:00
Aaron Smith
bf1271de23
Improve cleanup() algorithm
2023-08-15 17:54:54 +01:00
aaron
154cf77df6
Optimize cleanup
2023-08-14 22:51:31 +01:00
Aaron Smith
f00fc8aeb1
Add Source<T> export
2023-08-14 16:38:15 +01:00
Aaron Smith
5a2c6fb945
Improve binding error message
2023-08-14 16:31:00 +01:00
Aaron Smith
a769139136
Update property nesting
...
Deeper nested properties guaranteed to be processed after shallower
nested properties.
Also added strict mode checks for duplicate nested properties.
2023-08-14 11:42:16 +01:00
aaron
4604341694
Fix spring snapping
...
Fixes #4
2023-08-12 12:13:13 +01:00
aaron
afd863285b
Add special case for frozen tables
...
Sources will now check if frozen tables are equal before updating
dependencies.
2023-08-12 11:11:21 +01:00
Aaron Smith
7e5102c314
Update mocks
2023-08-10 15:43:27 +01:00
Aaron Smith
cc10c80a90
Refactor
2023-08-10 13:18:16 +01:00
Aaron Smith
b3c600acc3
Update mock tests
2023-08-09 17:58:17 +01:00
Aaron Smith
04e28f390d
Improve docs
2023-08-09 15:33:14 +01:00
aaron
cb002f4f27
Initial commit
2023-08-08 21:33:11 +01:00