Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit 13a5da8

Browse files
committed
Update 03 - Stateless Functions.js
1 parent 2534efc commit 13a5da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01 - Core/03 - Stateless Functions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// A simple component, that isn't stateful, can be provided as a single
22
// function that accepts props. This provides React with a hint that this
3-
// component can be collapsed and that it's state doesn't need to be preserved.
3+
// component can be collapsed and that its state doesn't need to be preserved.
44
// It also encourages micro-componentization instead of custom helper functions
55
// outside the system.
66
export function Button(props : { width: number, onClick: function }) {

0 commit comments

Comments
 (0)