How React hooks work - in depth

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • how-react-hooks-work

    Understand how React-hook really behaves, once and for all!

  • code sandbox of all examples: https://codesandbox.io/s/github/Eliav2/how-react-hooks-work webpage of sandbox(examples on full screen): https://d47vv.csb.app/ GitHub repo: https://github.com/Eliav2/how-react-hooks-work

  • react-xarrows

    Draw arrows (or lines) between components in React!

  • so why do we need to understand all of this? well, in simple cases you don't, but when dealing with a component with a complicated lifecycle you can sometimes get confused by the component's behavior. an example of such component will be react-xarrow which needs to trigger callback on different phases to get the right dimensions and activate animations callbacks on different phases, for that react-xarrows using react-use-call-onnext-render to schedule callback for later phases.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • react-use-call-onnext-render

    Discontinued A custom hook that can be used to schedule a callback function on later render, optionally forced!

  • so why do we need to understand all of this? well, in simple cases you don't, but when dealing with a component with a complicated lifecycle you can sometimes get confused by the component's behavior. an example of such component will be react-xarrow which needs to trigger callback on different phases to get the right dimensions and activate animations callbacks on different phases, for that react-xarrows using react-use-call-onnext-render to schedule callback for later phases.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best way to handle forms in Remix.run

    1 project | dev.to | 23 Apr 2024
  • Developing a cross-platform TV app with React Native

    3 projects | dev.to | 20 Mar 2024
  • React hook library, ready to use, written in TypeScript

    1 project | news.ycombinator.com | 12 Feb 2024
  • I am thinking of making a Deadzone damage calculator.

    1 project | /r/deadzonethegame | 26 Oct 2023
  • What is your favorite react hook?

    1 project | /r/reactjs | 14 Oct 2023