This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow (and ignore) booleans as children of components (#15)
* support booleans in Reconciler
- Loading branch information
1 parent
3fd4cff
commit f0a9981
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Roact Changelog | ||
|
||
## Current master | ||
* No changes | ||
* Support booleans in reconciliation ([#14](https://github.com/Roblox/roact/issues/14)) | ||
|
||
## 1.0.0 (TODO: Date) | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
return function() | ||
local Reconciler = require(script.Parent.Reconciler) | ||
|
||
it("should reify booleans as nil", function() | ||
local booleanReified = Reconciler.reify(false) | ||
expect(booleanReified).to.never.be.ok() | ||
end) | ||
end |