Skip to content
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 src/capstone/Capstone.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Capstone extends Component {
* 1. We are passing `handleSearch` function to `Search` component as `onSearch` props.
* `Search` component will execute this props when the user clicks Search button.
* and it will pass the current value on the input field as an argument to this function.
* Remeber above we we updated the state when this function is called
* Remember above we updated the state when this function is called
* 2. We are passing `stockTicker` props to both `CompanyProfile` and
* `CompanyFinancial` components. These components should use the `stockTicker`
* props to fetch the appropriate data from the API provided and render it.
Expand Down
2 changes: 1 addition & 1 deletion src/tutorial/03-PowerOfJSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ return (
)

// ✅ If you don't want to wrap your component with some enclosing tag like `div`
// you can wrap everything with `React.Fragment` which is a empty tag provided by React
// you can wrap everything with `React.Fragment` which is an empty tag provided by React
return (
<React.Fragment>
<div></div>
Expand Down
2 changes: 1 addition & 1 deletion src/tutorial/07-HandlingEvents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Handling events in JSX is pretty similar to handling events in actual DOM.
For example if we have a `button` element and we want to pass a event handler for `click` event we can pass a props called `onClick` to the button element.
For example if we have a `button` element and we want to pass an event handler for `click` event we can pass a props called `onClick` to the button element.

```jsx
function ClickableButton(props){
Expand Down