Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Fixed typos in documentation #328

Merged
merged 1 commit into from
Oct 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/performance/reduce-reconciliation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
In all likelihood, the primary source of performance gains for your app will come from reducing the amount of work that Roact's reconcilation process requires. This is accomplished by:
In all likelihood, the primary source of performance gains for your app will come from reducing the amount of work that Roact's reconciliation process requires. This is accomplished by:

* Indicating to Roact that some reconciliation work can be skipped
* Making sure your elements only change in ways you intended
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ nav:
- Context: advanced/context.md
- Performance Optimization:
- Overview: performance/overview.md
- Reduce Reconcilation: performance/reduce-reconciliation.md
- Reduce Reconciliation: performance/reduce-reconciliation.md
- API Reference: api-reference.md

extra_css:
Expand Down
2 changes: 1 addition & 1 deletion src/createElement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local Type = require(script.Parent.Type)
local config = require(script.Parent.GlobalConfig).get()

local multipleChildrenMessage = [[
The prop `Roact.Children` was defined but was overriden by the third parameter to createElement!
The prop `Roact.Children` was defined but was overridden by the third parameter to createElement!
This can happen when a component passes props through to a child element but also uses the `children` argument:

Roact.createElement("Frame", passedProps, {
Expand Down
2 changes: 1 addition & 1 deletion src/createElement.spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ return function()

it("should warn once if children is specified in two different ways", function()
local logInfo = Logging.capture(function()
-- Using a loop here to ensure that multiple occurences of the same
-- Using a loop here to ensure that multiple occurrences of the same
-- warning only cause output once.
for _ = 1, 2 do
createElement("Frame", {
Expand Down