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

Commit

Permalink
Fixed typos (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikIdreesHasanKhan authored Oct 23, 2021
1 parent a4cf412 commit 0f26436
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 0f26436

Please sign in to comment.