Use package.json wisely

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • react-hook-form

    📋 React Hooks for form state management and validation (Web + React Native)

  • It doesn't make much sense at the first look, so let us continue with an example, imagine you have an npm package that is just a single react hook, if you think this is stupid, you should take a look at these stupid repositories (react-hook-form, SWR, zustand) so you need the react for your package, cause you need to use builtin hooks (useState, useContext, ...) But this makes publishing just a little bit harsh, cause you don't want to build and bundle the react into your output.

  • SWR

    React Hooks for Data Fetching

  • It doesn't make much sense at the first look, so let us continue with an example, imagine you have an npm package that is just a single react hook, if you think this is stupid, you should take a look at these stupid repositories (react-hook-form, SWR, zustand) so you need the react for your package, cause you need to use builtin hooks (useState, useContext, ...) But this makes publishing just a little bit harsh, cause you don't want to build and bundle the react into your output.

  • 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
  • zustand

    🐻 Bear necessities for state management in React

  • It doesn't make much sense at the first look, so let us continue with an example, imagine you have an npm package that is just a single react hook, if you think this is stupid, you should take a look at these stupid repositories (react-hook-form, SWR, zustand) so you need the react for your package, cause you need to use builtin hooks (useState, useContext, ...) But this makes publishing just a little bit harsh, cause you don't want to build and bundle the react into your output.

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