In This Space
The page you were looking for has a similar name to the following pages:
-
React Component Testing
(Frontend Development)
Testing Libraries We use two main testing libraries, enzyme https://enzymejs.github.io/enzyme/docs/api/ and react-testing-library https://testing-library.com/docs/react-testing-library/api....
-
React Patterns & Examples
(Frontend Development)
This page serves as a placeholder to document examples and patterns of “good” code that we feel is worthwhile to showcase to others to follow as a “best practice”, convention, or pattern....
-
React hooks - custom and common
(Frontend Development)
What are hooks? Chunk of functionality that is part of that component that is being initialized within the component. Some additional benefits of using hooks: reusability testability Hooks must be included at top of components....
-
React hook and component testing cookbook
(Frontend Development)
Before Testing (Prep): Separate behavior (hooks) from render to support testing patterns In order to effectively test a component, it is recommended to separate out business logic from its render behavior/output. In practice,...