extra credit Search 85,062 technologies ⌘K Download for Mac

Preact

Category
Frameworks and libraries
Docs outline
13 sections

Official docs outline

preactjs.com
  1. Getting Started

    Setting up Preact with a build tool or no-build import maps, and how it differs in size and philosophy from React.

  2. Components

    Function and class components, props, children, and the component lifecycle methods.

  3. Hooks

    useState, useEffect, useReducer, useRef, useMemo, useCallback, custom hooks, and the preact/hooks package.

  4. Forms

    Controlled and uncontrolled inputs, form events, and handling form state.

  5. References

    createRef, useRef, callback refs and accessing DOM nodes.

  6. Context

    createContext, Provider/Consumer, and useContext for passing data through the tree.

  7. Signals

    Reactive state with signal, computed and effect, and binding signals directly to the DOM.

  8. Differences to React

    Where Preact diverges from React: DOM events, class attribute, and the preact/compat layer.

  9. Switching to Preact (compat)

    Aliasing react to preact/compat to migrate existing React apps and libraries.

  10. TypeScript

    Typing components, props, hooks and JSX configuration in Preact.

  11. Server-Side Rendering

    preact-render-to-string, hydration and streaming server output.

  12. Debugging Preact Apps

    Preact DevTools, preact/debug warnings and common error diagnosis.

  13. Unit Testing with Enzyme or Testing Library

    Testing components with Preact Testing Library.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 113
↑↓ move ↵ open