Browse Results

Showing 47,151 through 47,175 of 61,735 results

React Design Patterns and Best Practices

by Michele Bertoli

Build modular applications that are easy to scale using the most powerful components and design patterns that React can offer you right now About This Book • Dive into the core patterns and components of React.js in order to master your application's design • Improve their debugging skills using the DevTools • This book is packed with easy-to-follow examples that can be used to create reusable code and extensible designs Who This Book Is For If you want to increase your understanding of React and apply it to real-life application development, then this book is for you. What You Will Learn • Write clean and maintainable code • Create reusable components applying consolidated techniques • Use React effectively in the browser and node • Choose the right styling approach according to the needs of the applications • Use server-side rendering to make applications load faster • Build high-performing applications by optimizing components In Detail Taking a complete journey through the most valuable design patterns in React, this book demonstrates how to apply design patterns and best practices in real-life situations, whether that's for new or already existing projects. It will help you to make your applications more flexible, perform better, and easier to maintain – giving your workflow a huge boost when it comes to speed without reducing quality. We'll begin by understanding the internals of React before gradually moving on to writing clean and maintainable code. We'll build components that are reusable across the application, structure applications, and create forms that actually work. Then we'll style React components and optimize them to make applications faster and more responsive. Finally, we'll write tests effectively and you'll learn how to contribute to React and its ecosystem. By the end of the book, you'll be saved from a lot of trial and error and developmental headaches, and you will be on the road to becoming a React expert. Style and approach The design patterns in the book are explained using real-world, step-by-step examples. For each design pattern, there are hints about when to use it and when to look for something more suitable. This book can also be used as a practical guide, showing you how to leverage design patterns.

React Design Patterns and Best Practices: Design, build and deploy production-ready web applications using standard industry practices, 2nd Edition

by Carlos Santana Roldan

Build modular React web apps that are scalable, maintainable and powerful using design patterns and insightful practices Key Features Get familiar with design patterns in React like Render props and Controlled/uncontrolled inputs Learn about class/ functional, style and high order components with React Work through examples that can be used to create reusable code and extensible designs Book Description React is an adaptable JavaScript library for building complex UIs from small, detached bits called components. This book is designed to take you through the most valuable design patterns in React, helping you learn how to apply design patterns and best practices in real-life situations. You'll get started by understanding the internals of React, in addition to covering Babel 7 and Create React App 2.0, which will help you write clean and maintainable code. To build on your skills, you will focus on concepts such as class components, stateless components, and pure components. You'll learn about new React features, such as the context API and React Hooks that will enable you to build components, which will be reusable across your applications. The book will then provide insights into the techniques of styling React components and optimizing them to make applications faster and more responsive. In the concluding chapters, you'll discover ways to write tests more effectively and learn how to contribute to React and its ecosystem. By the end of this book, you will be equipped with the skills you need to tackle any developmental setbacks when working with React. You'll be able to make your applications more flexible, efficient, and easy to maintain, thereby giving your workflow a boost when it comes to speed, without reducing quality. What you will learn Get familiar with the new React features,like context API and React Hooks Learn the techniques of styling and optimizing React components Make components communicate with each other by applying consolidate patterns Use server-side rendering to make applications load faster Write a comprehensive set of tests to create robust and maintainable code Build high-performing applications by optimizing components Who this book is for This book is for web developers who want to increase their understanding of React and apply it to real-life application development. Prior experience with React and JavaScript is assumed.

React Hooks in Action: With Suspense and Concurrent Mode

by John Larsen

React Hooks in Action teaches you to write fast and reusable React components using Hooks.Summary Build stylish, slick, and speedy-to-load user interfaces in React without writing custom classes. React Hooks are a new category of functions that help you to manage state, lifecycle, and side effects within functional components. React Hooks in Action teaches you to use pre-built hooks like useState, useReducer and useEffect to build your own hooks. Your code will be more reusable, require less boilerplate, and you&’ll instantly be a more effective React developer. About the technology Get started with React Hooks and you&’ll soon have code that&’s better organized and easier to maintain. React Hooks are targeted JavaScript functions that let you reuse and share functionality across components. Use them to split components into smaller functions, manage state and side effects, and access React features without classes—all without having to rearrange your component hierarchy. About the book React Hooks in Action teaches you to write fast and reusable React components using Hooks. You&’ll start by learning to create component code with Hooks. Next, you&’ll implement a resource booking application that demonstrates managing local state, application state, and side effects like fetching data. Code samples and illustrations make learning Hooks easy. What's inside Build function components that access React features Manage local, shared, and application state Explore built-in, custom, and third-party hooks Load, update, and cache data with React Query Improve page and data loading with code-splitting and React Suspense About the reader For beginning to intermediate React developers. About the author John Larsen has been a teacher and web developer for over 20 years, creating apps for education and helping students learn to code. He is the author of Get Programming with JavaScript. Table of Contents PART 1 1 React is evolving 2 Managing component state with useState hook 3 Managing component state with useReducer hook 4 Working with side effects 5 Managing component state with useRef hook 6 Managing application state 7 Managing performance with useMemo 8 Managing state with the Context API 9 Creating your own hooks 10 Using third party hooks PART 2 11 Code splitting with Suspense 12 Integrating data-fetching with Suspense 13 Experimenting with useTransition, useDeferredValue and SuspenseList

React Key Concepts: An in-depth guide to React's core features

by Maximilian Schwarzmüller

Confidently implement React in your next project with this in-depth overview of React's core features – now updated for React 19. Purchase of the print or Kindle book includes a free PDF ebook and bonus content from the author. Key FeaturesWork through clear, concise explanations of core React 19 functionalitiesComplete practical exercises that challenge you to build your own simple appsDiscover fullstack React with Next.js, React Server Components, Suspense, and moreBook DescriptionMaximilian Schwarzmüller is a bestselling instructor who has helped more than three million students worldwide learn how to code. His bestselling React video course, “React – The Complete Guide”, has over nine hundred thousand students on Udemy. Max has written this quick-start reference that distills the core concepts of React. Simple explanations, relevant examples, and step-by-step derivations make this guide the ideal resource for busy developers. In this second edition, Max guides you through changes brought by React 19, including the new use() hook, form actions, and how to think about React on the server. This book will support you through your next React projects in giving you a behind-the-scenes understanding of the framework – whether you've just finished Max's video course and are looking for a handy reference, or you’re using a variety of other learning materials and need a single study guide to bring everything together. You’ll find full solutions to all end-of-chapter quizzes and exercises in the book’s GitHub repository.What you will learnBuild modern, user-friendly, and reactive web appsCreate components and utilize props to pass data between themHandle events, perform state updates, and manage conditional contentAdd styles dynamically and conditionally for modern user interfacesUse advanced state management techniques such as React's Context APIUtilize React Router to render different pages for different URLsUnderstand key best practices and optimization opportunitiesLearn about React Server Components and Server ActionsWho this book is forThis React book is for developers who have prior experience with, or who are currently learning, the basics of React. You can use this book as a standalone resource to consolidate your understanding or as a companion guide to other courses. To get the most value from this book, you should have a basic understanding of the fundamentals of JavaScript, HTML, and CSS.

React Key Concepts: Consolidate your knowledge of React's core features

by Maximilian Schwarzmuller

Build the understanding, skills, and experience to confidently implement React in your next project with this fast-paced overview of React fundamentalsKey FeaturesA clear, concise explanation of core React 18 functionalities to promote quick, easy referenceGain a deep understanding of key React concepts with the help of step-by-step derivationsWork with practical exercises that challenge you to apply your new skills and build your own simple appsBook DescriptionAs the most popular JavaScript library for building modern, interactive user interfaces, React is an in-demand framework that'll bring real value to your career or next project. But like any technology, learning React can be tricky, and finding the right teacher can make things a whole lot easier.Maximilian Schwarzmuller is a bestselling instructor who has helped over two million students worldwide learn how to code, and his latest React video course (React — The Complete Guide) has over six hundred thousand students on Udemy.Max has written this quick-start reference to help you get to grips with the world of React programming. Simple explanations, relevant examples, and a clear, concise approach make this fast-paced guide the ideal resource for busy developers.This book distills the core concepts of React and draws together its key features with neat summaries, thus perfectly complementing other in-depth teaching resources. So, whether you've just finished Max's React video course and are looking for a handy reference tool, or you've been using a variety of other learning materials and now need a single study guide to bring everything together, this is the ideal companion to support you through your next React projects. Plus, it's fully up to date for React 18, so you can be sure you're ready to go with the latest version.What you will learnBuild modern, user-friendly, and reactive web appsCreate components and utilize props to pass data between themHandle events, perform state updates, and manage conditional contentApply styles dynamically and conditionally to create a modern UIUse advanced state management techniques such as React's context APIUtilize React router to render different pages for different URLsUnderstand key best practices and optimization opportunitiesWho this book is forThis React book is for developers who have prior experience with, or who are currently learning, the basics of React. You can use this book as a standalone resource to consolidate your understanding or as a companion guide to a more in-depth course. To get the most value from this book, you should have a basic understanding of the fundamentals of JavaScript, HTML, and CSS.

React Native Blueprints: Create eight exciting native cross-platform mobile applications with JavaScript

by Emilio Rodriguez Martinez

Develop real world Android and iOS applications with the power of React native. About This Book • Build quirky and fun projects from scratch and become efficient with React Native • Learn to build professional Android and iOS applications with your JavaScript skills • Use Isomorphic principles to build mobile apps that offer a native user experience Who This Book Is For This book is for developers who want to use their JavaScript knowledge for mobile development. Prior knowledge of React will be beneficial. What You Will Learn • Structure React Native projects to ease maintenance and extensibility • Optimize a project to speed up development • Make a React Native project production-ready • Use external modules to speed up the development and maintenance of your projects • Explore the different UI and code patterns to be used for iOS and Android • Get to know the best practices when building apps in React Native In Detail Considering the success of the React framework, Facebook recently introduced a new mobile development framework called React Native. With React Native's game-changing approach to hybrid mobile development, you can build native mobile applications that are much more powerful, interactive, and faster by using JavaScript This project-based guide takes you through eight projects to help you gain a sound understanding of the framework and helps you build mobile apps with native user experience. Starting with a simple standalone groceries list app, you will progressively move on to building advanced apps by adding connectivity with external APIs, using native features, such as the camera or microphone, in the mobile device, integrating with state management libraries such as Redux or MobX, or leveraging React Native's performance by building a full-featured game. This book covers the entire feature set of React Native, starting from the simplest (layout or navigation libraries) to the most advanced (integration with native code) features. By the end of this book, you'll be able to build professional Android and iOS applications using React Native. Style and approach This project-based guide consists of 8 projects. Each project is a standalone project that covers the core techniques and concepts in each project.

React Native By Example

by Richard Kho

Leverage the full potential of the React Native framework to build and deploy your own native mobile applications for iOS and Android About This Book • Work on native APIs and UI Elements using React Native • Get the best of both worlds: the power of native approach and the fluidity of JavaScript • Create increasingly complex real-world applications and dive deeper into React Native Who This Book Is For If you are keen on learning to use the revolutionary mobile development tool React Native to build native mobile applications, then this book is for you. Prior experience with JavaScript would be useful. What You Will Learn • How to create mobile-performant iOS and Android apps using JavaScript and React • The potential of each API and component, putting them into practice throughout the course of three projects • The process of integrating the Facebook SDK to build an app that connects to third-party data • Every step taken to implement Redux, a popular state management library, in your mobile apps • The requirements for building and deploying your apps to market, with detailed instructions on how to release and beta test apps on both the Apple App Store and Google Play In Detail React Native's ability to build performant mobile applications with JavaScript has resulted in its popularity amongst developers. Developers now have the luxury to create incredible mobile experiences that look and feel native to their platforms with the comfort of a well-known language and the popular React.js library. This book will show you how to build your own native mobile applications for the iOS and Android platforms while leveraging the finesse and simplicity of JavaScript and React. Throughout the book you will build three projects, each of increasing complexity. You will also link up with the third-party Facebook SDK, convert an app to support the Redux architecture, and learn the process involved in making your apps available for sale on the iOS App Store and Google Play. At the end of this book, you will have learned and implemented a wide breadth of core APIs and components found in the React Native framework that are necessary in creating great mobile experiences. Style and approach Start building applications immediately using featured examples through an easy-to-follow approach. The book is based on three concrete projects with increasing levels of difficulty. Each chapter will introduce you to new and practical concepts and techniques, with the intent that you will be able to apply them in your own projects later.

React Native Cookbook

by Crysfel Villa Stan Bershadskiy

This book is for web developers who are familiar with React.js and know basics of UI development. You may or may not have used React Native before, but it’s ideal for you if you want to develop native applications for iOS and Android using React Native. Existing knowledge of JavaScript ES2015 is highly recommended.

React Native Cookbook - Second Edition: Step-by-step recipes for solving common React Native development problems, 2nd Edition

by Dan Ward

If you're a JavaScript developer who needs a hands-on solutions guide for developing mobile applications with React Native, then this book is for you.

React Native Cookbook: Bringing the Web to Native Platforms

by Jonathan Lebensold

Tackling an app development project on multiple platforms is no simple task. When time is in short supply and customers need access from the tap of a home screen, React Native can provide a lean development team with the tools needed to deliver a multi-platform native experience without juggling multiple programming languages and shifting code bases. React Native is an emerging technology and best practices are only beginning to bubble up.Fortunately, a growing user community—from tech giants such as Facebook, Yahoo, and Airbnb to the independent developers—is hard at work codifying patterns and best practices for how to use React Native. This cookbook is another milestone on that journey.Aimed at people with some JavaScript and web development experience, the first part of this cookbook covers some simple tips for getting started with React Native. Part 2 will cover some emerging patterns that are commonly found in most native applications.

React Native for Mobile Development: Harness the Power of React Native to Create Stunning iOS and Android Applications

by Abhishek Nalwaya Akshat Paul

Develop native iOS and Android apps with ease using React Native. Learn by doing through an example-driven approach, and have a substantial running app at the end of each chapter. This second edition is fully updated to include ES7 (ECMAScript 7), the latest version of React Native (including Redux), and development on Android. You will start by setting up React Native and exploring the anatomy of React Native apps. You'll then move on to Redux data flow, how it differs from flux, and how you can include it in your React Native project to solve state management differently and efficiently. You will also learn how to boost your development by including popular packages developed by the React Native community that will help you write less; do more. Finally, you'll learn to how write test cases using Jest and submit your application to the App Store. React Native challenges the status quo of native iOS and Android development with revolutionary components, asynchronous execution, unique methods for touch handling, and much more. This book reveals the the path-breaking concepts of React.js and acquaints you with the React way of thinking so you can learn to create stunning user interfaces. What You'll LearnBuild stunning iOS and Android applicationsUnderstand the Redux design pattern and use it in your projectInteract with iOS and android device capabilities such as addressbook, camera, GPS and more with your appsTest and launch your application to the App StoreWho This Book Is ForAnyone with JavaScript experience who wants to build native mobile applications but dreads the thought of programming in Objective-C or Java. Developers who have experience with JavaScript but are new or not acquainted to React Native or ReactJS.

React Native for iOS Development

by Abhishek Nalwaya Akshat Paul

This book is your hands-on guide to developing native iOS apps with ease. With React Native for iOS Development you'll challenge the status quo of native iOS development with revolutionary components, asynchronous execution, unique methods for touch handling, and much more. You will begin by understanding the path breaking concepts of React. js, which makes it distinctive. You will set up React Native and begin exploring the anatomy of React Native apps. You'll also learn about flux architecture, how it differs from MVC, and how you can include it in your React Native project to solve problems differently and efficiently. Next, you will learn to create stunning user interfaces and interact with various device capabilities. You will then boost your development by including some popular packages already developed by the React Native community that will helps you write less but do more. Finally, you'll learn to how write test cases and submit your application to App Store. Using real-world examples with an example-driven approach, you will learn by doing and have a running app at the end of each chapter. Start using React Native for your iOS development using this book today. What you'll learn How to use React Native to build stunning iOS applications Understand the Flux design pattern and use it in your project Interact with iOS device capabilities such as addressbook, camera, GPS, and more How to test and launch your application to appstore Who this book is for This book is for people with existing web experience in JavaScript who want to build gorgeous native apps with the ease of the React Native framework. This book introduces developers who have experience with JavaScript but are new to or not acquainted with React Native or ReactJS. Table of Contents 1. Learning the basics: Whistle-top tour of React 2. The simplest program: Hello World with React Native 3. Solving problems differently: Flux design pattern 4. A canvas, brush & Paint: Working with User interface 5. Device capabilities 6. Communicating with Servers 7. React-Native supplements

React Native in Action: Developing iOS and Android apps with JavaScript

by nader dabit

SummaryReact Native in Action gives iOS, Android, and web developers the knowledge and confidence they need to begin building high-quality iOS and Android apps using the React Native framework.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyReact Native gives mobile and web developers the power of "and." Write your app once and easily deploy it to iOS and Android and the web. React Native apps compile into platform-specific code, reducing development time, effort, and cost! And because you're using JavaScript and the React framework, you benefit from a huge ecosystem of tools, expertise, and support.About the BookReact Native in Action teaches you to build high-quality cross-platform mobile and web apps. In this hands-on guide, you'll jump right into building a complete app with the help ofclear, easy-to-follow instructions. As you build your skills, you'll drill down to more-advanced topics like styling, APIs, animations, data architecture, and more! You'll also learn how to maximize code reuse without sacrificing native platform look-and-feel.What's InsideBuilding cross-platform mobile and web appsRouting, Redux, and animationsCross-network data requestsStoring and retrieving data locallyManaging data and stateAbout the ReaderWritten for beginner-to-intermediate web, Android, and iOS developers.About the AuthorsNader Dabit is a developer advocate at AWS Mobile, where he works on tools and services to allow developers to build full-stack web and mobile applications using their existing skillset. He is also the founder of React Native Training and the host of the "React Native Radio" podcast.Table of ContentsPART 1 Getting started with React NativeGetting started with React NativeUnderstanding ReactBuilding your first React Native appPART 2 Developing applications in React NativeIntroduction to stylingStyling in depthNavigationAnimationsUsing the Redux data architecture libraryPART 3 API referenceImplementing cross-platform APIsImplementing iOS-specific components and APIsImplementing Android-specific components and APIsPART 4 Bringing it all togetherBuilding a Star Wars app using cross-platform components

React Projects: Build 12 real-world applications from scratch using React, React Native, and React 360

by Roy Derks

Build cross-platform applications of varying complexity for the web, mobile, and VR devices using React tooling Key Features Build React applications at scale using effective React patterns and best practices Explore React features such as Hooks, the Context API, and the Suspense API Extend React's integration with React Native for building cross-platform mobile apps and games Book Description Developed by Facebook, React is a popular library for building impressive user interfaces. React extends its capabilities to the mobile platform using the React Native framework and integrates with popular web and mobile tools to build scalable applications. React Projects is your guide to learning React development by using modern development patterns and integrating React with powerful web tools such as GraphQL, Expo, and React 360. You'll start building a real-world project right from the first chapter and get hands on with developing scalable applications as you advance to building more complex projects. Throughout the book, you'll use the latest versions of React and React Native to explore features such as Higher Order Components (HOC), Context, and Hooks on multiple platforms, which will help you build full stack web and mobile applications efficiently. Finally, you'll delve into unit testing with Jest to build test-driven apps. By the end of this React book, you'll have developed the skills necessary to start building scalable React apps across web and mobile platforms. What you will learn Create a wide range of applications using various modern React tools and frameworks Discover how React Hooks modernize state management for React apps Develop progressive web applications using React components Build test-driven React applications using the Jest and Enzyme frameworks Understand full stack development using React, Apollo, and GraphQL Perform server-side rendering using React and React Router Design gestures and animations for a cross-platform game using React Native Who this book is for The book is for JavaScript developers who want to explore React tooling and frameworks for building cross-platform applications. Basic knowledge of web development, ECMAScript, and React will assist with understanding key concepts covered in this book.

React Projects: Build advanced cross-platform projects with React and React Native to become a professional developer, 2nd Edition

by Roy Derks Kevin Goldsmith

Learn how to develop real-world applications of varying complexity for the web, mobile, and VR devices using React, React Native, React 360, and moreKey FeaturesBuild React applications at scale using React patterns and best practicesExplore React features such as Hooks, the Context API, and the Suspense APIExtend React's integration with React Native for building cross-platform mobile apps and gamesBook DescriptionDeveloped by Facebook, React is a popular library for building impressive user interfaces. React extends its capabilities to mobile platforms using the React Native framework and integrates with popular web and mobile tools to build scalable applications.React Projects is your guide to learning React development by using modern development patterns and integrating React with powerful web tools, such as GraphQL, Expo, and React 360. You'll start building a real-world project right from the first chapter and get hands-on with developing scalable applications as you advance to building more complex projects. Throughout the book, you'll use the latest versions of React and React Native to explore features such as routing, Context, and Hooks on multiple platforms, which will help you build full-stack web and mobile applications efficiently. Finally, you'll get to grips with unit testing with Jest and end-to-end testing with Cypress to build test-driven apps.By the end of this React book, you'll have developed the skills necessary to start building scalable React apps across web and mobile platforms.What you will learnCreate a wide range of applications using various modern React tools and frameworksDiscover how React Hooks modernize state management for React appsDevelop web applications using styled and reusable React componentsBuild test-driven React applications using Jest, React Testing Library, and CypressUnderstand full-stack development using GraphQL, Apollo, and ReactPerform server-side rendering using React and Next.jsCreate animated games using React Native and ExpoDesign gestures and animations for a cross-platform game using React NativeWho this book is forThe book is for JavaScript developers who want to explore React tooling and frameworks for building cross-platform applications. Basic knowledge of web development, ECMAScript, and React will assist with understanding key concepts covered in this book.

React Quickly, Second Edition

by Azat Mardan Morten Barklund

Learn the skills you need to build React applications quickly! This fully revised second edition introduces JSX, functional components, React hooks, event and form handling, and more.In React Quickly, Second Edition you will learn how to: Master React fundamentals Implement best practices and the components of good architecture Build intuitive user interfaces Create dynamic components with JSX Use lightweight functional components in React Make your app interactive with stateful components Utilize React hooks Handle events like button clicks and pass data between components Build your skills with React fast! There&’s no slow theory and tedious history in React Quickly—you&’ll dive into React code right from the very first chapter. As you go, you&’ll explore over 80 useful and practical examples that put React into action. This new second edition has been completely rewritten to cover the latest developments in the React framework. Perfect, whether you&’re a React beginner or an experienced pro looking to keep their skills up to date. About the technology React makes it a breeze to build beautiful, reliable web frontends. This amazing JavaScript library has a modular architecture, so you can create, combine, and test components seamlessly. React is perfect for small prototypes, enterprise scale sites, and everything in between. About the book React Quickly, Second Edition offers a unique approach to learning the React framework. More than 80 concise examples guide you from your first steps through advanced applications. You&’ll appreciate the up-to-date coverage of functional components, React hooks, and web accessibility, along with interesting projects to practice your new skill. What's inside Master React fundamentals Best practices of component-based design Create dynamic components with JSX Make your app interactive with stateful components About the reader For developers comfortable building web applications with JavaScript. About the author Morten Barklund is an expert in React, web testing, and accessibility and is the founder of Coding Heaven. Azat Mardan is a seasoned software engineer, startup mentor, and best-selling author. Table of Contents 1 Meeting React 2 Baby steps with React 3 Introduction to JSX 4 Functional Components 5 Making React interactive with states 6 Effects and the React component life cycle 7 Hooks to fuel your web applications 8 Handling events in React 9 Working with forms in React 10 Advanced React hooks for scaling 11 Project: Website menu 12 Project: Timer 13 Project: Task manager

React Quickly: Painless web apps with React, JSX, Redux, and GraphQL

by Azat Mardan

SummaryReact Quickly is for anyone who wants to learn React.js fast. This hands-on book teaches you the concepts you need with lots of examples, tutorials, and a large main project that gets built throughout the book. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologySuccessful user interfaces need to be visually interesting, fast, and flowing. The React.js JavaScript library supercharges view-heavy web applications by improving data flow between UI components. React sites update visual elements efficiently and smoothly, minimizing page reloads. React is developer friendly, with a strong ecosystem to support the dev process along the full application stack. And because it's all JavaScript, React is instantly familiar. About the BookReact Quickly is the tutorial for web developers who want to get started fast with React.js. Following carefully chosen and clearly explained examples, you'll learn React development using your existing JavaScript and web dev skills. You'll explore a host of different projects as you learn about web components, forms, and data. What's InsideMaster React fundamentalsBuild full web apps with data and routingTest componentsOptimize React appsAbout the Reader This book is for developers comfortable building web applications with JavaScript. About the AuthorAzat Mardan is a Tech Fellow at Capital One with extensive experience using and teaching JavaScript and Node, and author of several books on JavaScript, Node, React, and Express.Table of ContensPART 1 - REACT FOUNDATIONMeeting ReactBaby steps with ReactIntroduction to JSXMaking React interactive with statesReact component lifecycle eventsHandling events in ReactWorking with forms in ReactScaling React componentsProject: Menu componentProject: Tooltip componentProject: Timer componentPART 2 - REACT ARCHITECTURE The Webpack build toolReact routingWorking with data using ReduxWorking with data using GraphQLUnit testing React with JestReact on Node and Universal JavaScriptProject: Building a bookstore with React RouterProject: Checking passwords with JestProject: Implementing autocomplete with Jest, Express, and MongoDBAPPENDIXESAppendix A - Installing applications used in this bookAppendix B - React cheatsheetAppendix C - Express.js cheatsheetAppendix D - MongoDB and Mongoose cheatsheetAppendix E - ES6 for success

React Router Quick Start Guide: Routing in React applications made easy

by Sagar Ganatra

Learn how you can implement routing in a React Web/Native application using React-Router libraryKey FeaturesCreate nested routes and complex workflows for your applicationsLearn Routing in server-side rendered applications and in Native mobile applicationsUnderstand how Redux bindings for React-Router works using the connected-react-router libraryBook DescriptionReact Router is the routing library for React, and it can be used in both React Web and React Native applications. This book is a simple way to get started with React Router and harness its full power for your applications.The book starts with an introduction to React Router and teaches you how to create your first route using the React component. You will then learn about configuring your routes, passing parameters, and creating nested routes. You will be introduced to various components in React-Router and learn different configuration options available for these components. You will then see how to use the Redirect and Switch components. For even greater flexibility, you will learn about BrowserRouter, HashRouter, NativeRouter, and StaticRouter.By the end of the book, you will have set up a project with React Router and make routing configuration work in a server-side rendered React application, a mobile application built with React Native and also understand how Redux and React-Router can be used in the same application.What you will learnCreate your first Route using the Route componentProtect routes from unauthorized access by using the redirect componentNavigate to your defined route using Link and NavLinkConfigure BrowserRouter and HashRouter using various propsUse StaticRouter for routing in server-side rendered React applicationsImplement routing in a React Native app using react-router-nativeUsing connected-react-router library with React-Router for better state managementWho this book is forThis book is for JavaScript developers who have basic knowledge of React and who want to harness the power and flexibility of React Router

React and React Native: Complete guide to web and native mobile development with React, 2nd Edition

by Adam Boduch

Build applications for web and native mobile platforms with React, JSX, Redux, and GraphQLKey FeaturesExplore how functional web development works with React, Redux, and React NativeBuild apps with unified architecture with Facebook's React, Relay, and GraphQLUnderstand the platform in-depth, from routing to server-side rendering Book DescriptionThis books takes you through using React 16 and React Native 0.5 to create powerful and engaging desktop mobile and native applications for all platforms.You start by learning how to craft composable UIs using React, ranging from rendering with JSX and creating reusable components to routing and creating isomorphic applications that run on Node.js.We then move on to show you how to take the concepts of React and apply them to building Native UIs using React Native. You'll find out how to build responsive and streamlined UIs that can properly handle user interactions in a mobile environment. You'll also learn how to access device-specific APIs such as the Geolocation API, and how to handle offline development with React Native. You will master handling application state, Unified Information Architecture, and using Flux, Redux, and Relay. Towards the end of the book, you will learn how Flux ideas are encapsulated within React components using Relay and apply all the skills learned so far to create a React application that runs on every major platform.What you will learnLearn what has changed in React 16 and how you stand to benefitCraft reusable components using the React virtual DOM Learn how to use the new create-react-native-app command line toolAugment React components with GraphQL for data using RelayHandle state for architectural patterns using FluxBuild an application for web UIs using Relay Who this book is forThis book is written for any JavaScript developer—beginner or expert—who wants to start learning how to put both of Facebook’s UI libraries to work. No knowledge of React is needed, though a working knowledge of ES2017 will help you follow along better.

React and Libraries: Your Complete Guide to the React Ecosystem

by Elad Elrom

Harness the power of React and the related libraries that you need to know to deliver successful front-end implementations. Whether you are a beginner getting started or an existing React developer, this book will provide you with the must-have knowledge you need in your toolbox to build a complete app. Start by learning how to create and style your own components, add state management, and manage routing. You’ll also learn how to work with the backend using the MERN stack (MongoDB, Express, React, and Node.js). Once you have completed building your app you will learn how to deliver quality software by conducting unit testing, integration testing, and end-to-end (E2E) testing, as well as learn techniques to debug, profile, and optimize your React app. Libraries and tools covered include TypeScript, Material-UI, Styled Components, SCSS, React Router, Redux Toolkit, Recoil, Jest, Enzyme, Sinon, MongoDB, NodeJS, Express, Serve, Grunt, Puppeteer, ESLint, Prettier and many others. And, you'll get access to bonus material and learn how to conduct and nail React interview questions. Each chapter in this book can be used independently so you can pick and choose the information you’d like to learn. Use it to get deep into your React development world and find out why React has been rated the most loved framework by front-end developers for three years in a row. What You'll LearnReview the basics of DOM, React Virtual DOM, JSX, Babel, ES5/ES6, CRA, package manager, Yarn, Webpack, and build toolsWrite your own custom React components and learn about hooks and props.Apply routing and state management with React Route, Recoil, and Redux ToolkitDeliver quality software and reduce QA load by learning unit testing integration testing and end-to-end testing with libraries such as Jest, Jest-dom, Enzyme, Sinon, and PuppeteerSet an ultimate React automated development and CI cycle with ESLint, Prettier, Husky, Jest, Puppeteer, GitHub Actions, Codecov.io, Coveralls, Travis, and DeepScanPublish your code on Ubuntu Server with the help of GruntOptimize your React app with pure components, lazy loading, prerender, precache, code splitting, tree shaking, reduce media size, and prefetching Who This Book Is For? This book is for new developers looking to start working on React applications, and React developers looking to expand on their existing knowledge. It is also suitable for developers coming from other front-end frameworks such as Angular and Vue who would like to add React to their toolbox.

React and React Native

by Adam Boduch

Use React and React Native to build applications for desktop browsers, mobile browsers, and even as native mobile apps About This Book • Build React and React Native applications using familiar component concepts • Dive deep into each platform, from routing in React to creating native mobile applications that can run offline • Use Facebook's Relay, React and GraphQL technologies, to create a unified architecture that powers both web and native applications Who This Book Is For This book is written for any JavaScript developer—beginner or expert—who wants to start learning how to put both of Facebook's UI libraries to work. No knowledge of React is needed, though a working knowledge of ES2015 will help you follow along better. What You Will Learn • Craft reusable React components • Control navigation using the React Router to help keep your UI in sync with URLs • Build isomorphic web applications using Node.js • Use the Flexbox layout model to create responsive mobile designs • Leverage the native APIs of Android and iOS to build engaging applications with React Native • Respond to gestures in a way that's intuitive for the user • Use Relay to build a unified data architecture for your React UIs In Detail React and React Native allow you to build cross-platform desktop and mobile applications using Facebook's innovative UI libraries. Combined with the Flux data architecture and Relay, you can now create powerful and feature-complete applications from just one code base! This book is split into three parts. The first part shows you how to start crafting composable UIs using React, from rendering with JSX and creating reusable components through to routing and creating isomorphic applications that run on Node. We then move on to showing you how to take the concepts of React and apply them to building Native UIs using React Native. You'll find out how to build responsive and streamlined UIs that can properly handle user interactions in a mobile environment. You'll also learn how to access device-specific APIs such as the geolocation API, and how to handle offline development with React Native. Finally, we'll tie all of these skills together and shows you how you can create React applications that run on every major platform. As well as understanding application state in depth, you'll learn how to leverage Relay to make feature-complete, data-driven web and native mobile applications. Style and approach Split into three major sections to help organize your learning, this hands-on, code-first book will help you get up to speed with React and React Native—the UI framework that powers Netflix, Yahoo, and Facebook.

React and React Native: A complete hands-on guide to modern web and mobile development with React.js, 3rd Edition

by Adam Boduch Roy Derks

Get up to speed with React, React Native, GraphQL and Apollo for building cross-platform native apps with the help of practical examples Key Features Covers the latest features of React such as Hooks, Suspense, NativeBase, and Apollo in this updated third edition Get to grips with the React architecture for writing easy-to-manage web and mobile applications Understand GraphQL and Apollo for building a scalable backend for your cross-platform apps Book Description React and React Native, Facebook's innovative User Interface (UI) libraries, are designed to help you build robust cross-platform web and mobile applications. This updated third edition is improved and updated to cover the latest version of React. The book particularly focuses on the latest developments in the React ecosystem, such as modern Hook implementations, code splitting using lazy components and Suspense, user interface framework components using Material-UI, and Apollo. In terms of React Native, the book has been updated to version 0.62 and demonstrates how to apply native UI components for your existing mobile apps using NativeBase. You will begin by learning about the essential building blocks of React components. Next, you'll progress to working with higher-level functionalities in application development, before putting this knowledge to use by developing user interface components for the web and for native platforms. In the concluding chapters, you'll learn how to bring your application together with a robust data architecture. By the end of this book, you'll be able to build React applications for the web and React Native applications for multiple mobile platforms. What you will learn Delve into the React architecture, component properties, state, and context Get to grips with React Hooks for handling functions and components Implement code splitting in React using lazy components and Suspense Build robust user interfaces for mobile and desktop apps using Material-UI Write shared components for Android and iOS mobile apps using React Native Simplify layout design for React Native apps using NativeBase Write GraphQL schemas to power web and mobile apps Implement web and mobile components that are driven by Apollo Who this book is for This book is for any JavaScript developer who wants to start learning how to use Facebook's UI libraries, React and React Native, for mobile and web application development. Although no prior knowledge of React is needed, working knowledge of JavaScript programming will help you understand the concepts covered in the book more effectively.

React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile

by Adam Boduch Roy Derks Mikhail Sakhniuk

Get a big-picture view of modern React and React Native and see how they go hand-in-hand – covering TypeScript development, Vite, state management strategies, unit testing with Jest, and more. Purchase of the print or Kindle book includes a free PDF eBook.Key FeaturesNew content on TypeScript, React frameworks, state management strategies, and unit testingGet to grips with React fundamentals and modern React techniques and architectureBroaden your React expertise through mobile development with React NativeBook DescriptionWelcome to your big-picture guide to the React ecosystem. If you’re new to React and looking to become a professional React developer, this book is for you. This updated fifth edition reflects the current state of React, including React framework coverage as well as TypeScript. Part 1 introduces you to React. You’ll discover JSX syntax, hooks, functional components, and event handling, learn techniques to fetch data from a server, and tackle the tricky problem of state management. Once you’re comfortable with writing React in JavaScript, you’ll pick up TypeScript development in later chapters. Part 2 transitions you into React Native for mobile development. React Native goes hand-in-hand with React. With your React knowledge behind you, you’ll appreciate where and how React Native differs as you write shared components for Android and iOS apps. You’ll learn how to build responsive layouts, use animations, and implement geolocation. By the end of this book, you’ll have a big-picture view of React and React Native and be able to build applications with both.What you will learnExplore React architecture, component properties, state, and contextWork with React Hooks for handling functions and componentsFetch data from a server using the Fetch API, GraphQL, and WebSocketsDive into internal and external state management strategiesBuild robust user interfaces (UIs) for mobile and desktop apps using Material-UIPerform unit testing for your components with Vitest and mockingManage app performance with server-side rendering, lazy components, and SuspenseWho this book is forThis book is for any JavaScript or TypeScript developer who wants to start learning how to use React and React Native for web and mobile app development. No prior knowledge of React or React Native is required. However, a working knowledge of JavaScript is necessary to be able to follow along the content covered.

React and React Native: Build cross-platform JavaScript applications with native power for the web, desktop, and mobile, 4th Edition

by Adam Boduch Roy Derks Mikhail Sakhniuk

Fourth Edition of the popular React book, updated to the latest React 18 to help you go from beginner to professional in React applications developmentKey FeaturesDiscover React's latest features including automatic state update batching and prioritizing state updatesGet to grips with React architecture to write cross-platform apps using libraries such as NativeBaseUnderstand GraphQL and Apollo for building a scalable backend for your applicationsBook DescriptionOver the years, React and React Native has proven itself among JavaScript developers as a popular choice for a complete and practical guide to the React ecosystem. This fourth edition comes with the latest features, enhancements, and fixes to align with React 18, while also being compatible with React Native. It includes new chapters covering critical features and concepts in modern cross-platform app development with React.From the basics of React to popular components such as Hooks, GraphQL, and NativeBase, this definitive guide will help you become a professional React developer in a step-by-step manner.You'll begin by learning about the essential building blocks of React components. As you advance through the chapters, you'll work with higher-level functionalities in application development and then put your knowledge to work by developing user interface components for the web and native platforms. In the concluding chapters, you'll learn how to bring your application together with robust data architecture.By the end of this book, you'll be able to build React applications for the web and React Native applications for multiple mobile platforms.What you will learnExplore React architecture, component properties, state, and contextWork with React Hooks for handling functions and componentsImplement code splitting using lazy components and SuspenseBuild robust user interfaces for mobile and desktop apps using Material-UIWrite shared components for Android and iOS apps using React NativeSimplify layout design for React Native apps using NativeBaseWrite GraphQL schemas to power web and mobile appsImplement Apollo-driven componentsWho this book is forThis book is for any JavaScript developer who wants to start learning how to use React and React Native for mobile and web application development. No prior knowledge of React is required, however working knowledge of JavaScript is necessary to be able to follow along the content covered.

React in Action

by Mark Thomas

Summary React in Action introduces front-end developers to the React framework and related tools. This clearly written, example-rich book begins by introducing you to React, diving into some of the fundamental ideas in React, and working with components. In the second section, you'll explore the different ways that data works in React as well as learning more about components. You'll also find several useful appendixes covering related topics like React tooling and the React ecosystem. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Facebook created React to help deliver amazing user experiences on a website with thousands of components and an incomprehensible amount of traffic. The same powerful tools are available to you too! The key is a clever design for managing state, data flow, and rendering, so your application is easy to think about and runs smoothly. Add an incredibly rich ecosystem of components and libraries, and you've got a recipe for building web apps that will delight both developers and users. About the Book React in Action teaches you to think like a pro about user interfaces and building them with React. This practical book gets you up and running quickly with hands-on examples in every chapter. You'll master core topics like rendering, lifecycle methods, JSX, data flow, forms, routing, integrating with third-party libraries, and testing. And the included application design ideas will help make your apps pop. As you learn to integrate React into full-stack applications, you'll explore state management with Redux and server-side rendering, and even dabble in React Native for mobile UIs. What's Inside React from the ground up Implementing a routing system with components Server-side rendering in Node.js Working with third-party libraries Testing React components About the Reader Written for developers familiar with HTML, CSS, and JavaScript. About the Author Mark Thomas is an experienced software engineer who works daily with React, JavaScript, and Node.js. He loves clean code, beautiful systems, and good coffee. Table of Contents PART 1 - MEET REACT Meet React Our first component PART 2 - COMPONENTS AND DATA IN REACT Data and data flow in React Rendering and lifecycle methods in React Working with forms in React Integrating third-party libraries with React Routing in React More routing and integrating Firebase Testing React components PART 3 - REACT APPLICATION ARCHITECTURE Redux application architecture More Redux and integrating Redux with React React on the server and integrating React Router An introduction to React Native

Refine Search

Showing 47,151 through 47,175 of 61,735 results