React News Thursday, March 8 Angular cli, New angular app, Static properties & more…
React News TLDR / Table of Contents
- Use React tools for better Angular apps – Martin Hochel –
- How to leverage the best from React ecosystem and beyond and make our daily task easier and more effective and in the end become the best friends ever !
- Angular CLI, new Angular app, Angular team, various Angular stories, better Angular
- [WIP] ref-forwarding API by bvaughn · Pull Request #30 · reactjs/rfcs
- View formatted RFC
- static properties, static class properties, React element, higher-order components, solution / challenge
- RIP Redux: Dan Abramov announces future fetcher API
- This can be achieved with following node libraries: – lint-staged Run linters/formatters on git staged fileshusky Git hooks made easyInstall: – yarn add -D lint-staged huskyConfigure lint-staged: – lint-staged config within package.jsonAnd add commit hook via custom npm script, which will be recognised by husky and executed on particular git-hook….
- Excellent, you will never ever have to argue with your PR reviewer about semicolons vs no-semicolons, spacesyou nameit.With that said, lets switch to more serious stuff – Unit TestingIf youre not testing your codebase I will find you and I will:DAngular CLI comes with Karma test runner and Jasmine expectation/spy…
- Jest is a complete testing solution, that includes both test runner and assertion/spy library and much more – Its super easy to setup, its blazingly fast and introduces a brand new type of testingsnapshot testing ( which can be leveraged with everything that is serializablecomponent snapshots, state snapshots, image snapshots)…
- You can see it deployed with various Angular stories examples here – Storybook CLI integration – To add Storybook to Angular CLI, we will leverage storybook CLI: – npx @storybook/cli@alpha getstorybookWhile we are enjoying our morning quick shot of espresso, everything is setup for us.Amazing!add storybook to angularCLIThen we execute…
- You can learn more here – Storybook: write a story – Lets look very quickly how to write a story for simple button component: – Angular ComponetStoryStorybook: Component folder structure – With storybook covered, our final component folder structure should look like this: – Final folder structureimplementationunit test with snapshotsexternal…
- Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
- Already on GitHub?
- Sign in to your account
- It is widely used with the React.js UI library as well as it’s React Native sister product allowing development of Android and iOS mobile appications.
- You could also use Redux with Vue.js, but most developers opt for Vuex, the solution from the same team as the UI library.
- Unlike Redux Future Fetcher is not a new library, but rather a new concept that is being rolled into React in the form of the Context API that will simply render a lot of the tasks done by Redux obsolete.
Top React Courses
Modern React with Redux (86,762 students enrolled)By Stephen Grider
- Build amazing single page applications with React JS and Redux
- Master fundamental concepts behind structuring Redux applications
- Realize the power of building composable components
- Be the engineer who explains how Redux works to everyone else, because you know the fundamentals so well
The Complete React Native and Redux Course (53,888 students enrolled)By Stephen Grider
- Create real-world native apps using React Native
- Make truly reusable components that look great
- Understand the terminology and concepts of Redux
- Prototype and deploy your own applications to the Apple and Google Play Stores
- Get up to speed with React design principles and methodologies
- Discover mobile design patterns used by experienced engineers
Advanced React and Redux (35,016 students enrolled)By Stephen Grider
- Build a scaleable API with authentication using Express, Mongo, and Passport
- Learn the differences between cookie-based and token-based authentication
- Figure out what a Higher Order Component and how to use it to write dramatically less code
- Write Redux middleware from scratch to uncover what is happening behind the scenes with Redux
- Set up your own testing environment with Mocha and Chai
- Realize the power of building composable components
React Redux React-Router: From Beginner to Paid Professional (11,715 students enrolled)By Leonardo Daniel
- Building your amazing web applications with React JS and Redux
- Getting a high-paying job as a front-end developer
- Becoming familiar with the technologies supporting React, including NPM, Webpack, Babel, and ES6/ES2015.
React Native: Advanced Concepts (16,058 students enrolled)By Stephen Grider
- Make compelling applications using expert-level features of React Native
- Create amazingly smooth and performant animations
- Build new React Native apps with Expo
- Understand the latest Navigation options for new React Native apps
- Add logic to your Firebase backend with Google Cloud Functions
- Update your users with cross platform Push Notifications
- Handle your users going offline with Redux Persist
React JS and Redux - Mastering Web Apps (54,299 students enrolled)By David Katz
- Develop entire React JS and Redux applications from scratch.
- Build applications that deal with APIs and web requests.
- Create web apps with full authentication, and real-time database.
React basic in just 1 hour (22,331 students enrolled)By Leo Trieu
- Taste of how to build your very first React component.
- How to handle event in components.
- Understand two key concepts of React: State and Props.
- How to reuse and nest components.
- How to transfer data between Parent, Child components.
- How to work with Array, Form
Meteor and React for Realtime Apps (7,889 students enrolled)By Stephen Grider
- Create interactive web apps amazingly fast
- Build amazing single page applications with Meteor and React JS
- Master fundamental concepts behind structuring Meteor applications
- Learn the true purpose of Meteor in a modern application
- Be the engineer who explains how Meteor works to everyone else, because you know the fundamentals so well
- Build and prototype interesting personal projects in a weekend
GraphQL with React: The Complete Developers Guide (14,683 students enrolled)By Stephen Grider
- Build amazing single page applications with React JS and GraphQL
- Master fundamental concepts behind structuring GraphQL servers
- Realize the power of building flexible data schemas
- Be the engineer who explains how GraphQL works to everyone else, because you know the fundamentals so well
- Become fluent in the ecosystem supporting GraphQL, including the differences between Apollo and Relay
- Create ES6 applications from the ground up.
- Use the terminal/command-line application and a code editor to code.
- Look at ES6 code and understand keyword and concepts.
- Create live development servers with Webpack.
- Code in es6 comfortably, using all the new features.
- Build es6 projects from the ground up using tools like webpack and babel.
- Create a basic ReactJS application from scratch.