We've come a long way in the last 15 sections. We've started from zero or very basic level of React knowledge. Now, we know about: react dev environment, components, JSX, props, states, effect, ref, etc. The only purpose of this book is to take you from the world you know to the world you want to know. By no means this is an exhaustive reference on React. There is no need to become one. The market is full of good, exhaustive references. This book has been written to help you learn React while migrating a real app (file.io). The way of teaching makes this book unique. We could have chosen abstract/dummy apps like ecommerce, to-do lists, etc. But we chose a simple but practical app. We've used file.io many times in the past. The simplicity of file.io app helped a lot in covering React fundamentals.
Once again, congratulations on making this far in the book!
Here are some next steps for you:
Run it yourself
To run the vanilla and react app yourself, you can take the following steps:
/var/tmp/:cdlearn-react-by-example-file-io-app/var/tmp/learn-react-by-example-file-io-app/:cdreact-app/var/tmp/learn-react-by-example-file-io-app/react-app:cdclient/var/tmp/learn-react-by-example-file-io-app/react-app/client:npminpmWARNdeprecatedstable@0.1.8:ModernJSalreadyguaranteesArray#sort() isastablesort,sothislibraryisdeprecated.SeethecompatibilitytableonMDN:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibilitynpmWARNdeprecatedrollup-plugin-terser@7.0.2:Thispackagehasbeendeprecatedandisnolongermaintained.Pleaseuse@rollup/plugin-tersernpmWARNdeprecatedw3c-hr-time@1.0.2:Useyourplatform's native performance.now() and performance.timeOrigin.npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec insteadnpm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.added 1512 packages in 5s238 packages are looking for funding run `npm fund` for details/var/tmp/learn-react-by-example-file-io-app/react-app/client: npm startCompiled successfully!You can now view client in the browser. Local: http://localhost:3000 On Your Network: http://192.168.10.65:3000Note that the development build is not optimized.To create a production build, use npm run build.webpack compiled successfully
Open browser and go to http://localhost:3000 to check it out.
Reviews
This book is a free resource for anyone who wants to get started with React differently. As this book has been hosted on GitBook, there is no place like Amazon where you can submit your reviews. But there is a way you can provide reviews and help others.
If this book turns out to be a helpful resource for you & you like to help other fellow learners, please share your review with me in a DM to my Twitter account: https://twitter.com/MayankCh10/. I'll be adding reviews to this page every week.
As this book on GitBook, it can be updated easily. All your suggestions will be addressed within a week.
Companion guide
A short companion guide will be published shortly to show how to develop the same file.io app using Next.js. Next.js is a very popular, flexible React framework that gives you building blocks to create fast web applications.
The companion guide is expected to publish towards the end of June 2023.