|
|
@ -60,6 +60,23 @@ React programs-to-come.
|
|
|
|
I'm very excited to take you on this journey with me and now it's time
|
|
|
|
I'm very excited to take you on this journey with me and now it's time
|
|
|
|
to learn what lays at the very foundation of React.
|
|
|
|
to learn what lays at the very foundation of React.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Acknowledgments
|
|
|
|
|
|
|
|
:PROPERTIES:
|
|
|
|
|
|
|
|
:EXPORT_FILE_NAME: manuscript/acknowledgments.markua
|
|
|
|
|
|
|
|
:END:
|
|
|
|
|
|
|
|
First, I'd like to thank my partner Laura, for always supporting me in
|
|
|
|
|
|
|
|
whatever endeavors I embark upon even if they're new, challenging, or
|
|
|
|
|
|
|
|
scary. This book, nor my work with React, would have taken place if it
|
|
|
|
|
|
|
|
weren't for her support and strength.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Second, I would like to thank my friend, Timothy Licata, for providing
|
|
|
|
|
|
|
|
invaluable feedback on earlier versions and always pushing me to
|
|
|
|
|
|
|
|
explore new ways of using Emacs, such as writing this book.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And last, I would like to thank the wider JavaScript and React
|
|
|
|
|
|
|
|
community for providing many years of work to build upon and
|
|
|
|
|
|
|
|
specifically Rodrigo Pombo's "Build Your Own React" for being the
|
|
|
|
|
|
|
|
inspiration for a lot of this books content.
|
|
|
|
* Introduction :mainmatter:
|
|
|
|
* Introduction :mainmatter:
|
|
|
|
:PROPERTIES:
|
|
|
|
:PROPERTIES:
|
|
|
|
:EXPORT_FILE_NAME: manuscript/introduction.markua
|
|
|
|
:EXPORT_FILE_NAME: manuscript/introduction.markua
|
|
|
@ -732,8 +749,8 @@ specific details.
|
|
|
|
:EXPORT_FILE_NAME: manuscript/putting-it-all-together.markua
|
|
|
|
:EXPORT_FILE_NAME: manuscript/putting-it-all-together.markua
|
|
|
|
:END:
|
|
|
|
:END:
|
|
|
|
|
|
|
|
|
|
|
|
At this point the only thing left to do is to create some components
|
|
|
|
Now that we've explored how React renders your components it's time to
|
|
|
|
and use them!
|
|
|
|
finally create some components and use them!
|
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC javascript
|
|
|
|
#+BEGIN_SRC javascript
|
|
|
|
const SayNow = ({ dateTime }) => {
|
|
|
|
const SayNow = ({ dateTime }) => {
|
|
|
|