Should data be normalized on the backend before being sent to the frontend?

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

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

    A specification for building JSON APIs

  • There's a million different approaches but might I suggest json:api, which is all about the structure of your requests and responses, but makes no demands on your URL structure, for instance. It is intended as an anti-bikeshedding tool.

  • normalizr

    Discontinued Normalizes nested JSON according to a schema (by paularmstrong)

  • I'm going to go against the tide here and point out that GraphQL APIs aren't normalized, but GraphQL caching implementations end up normalizing GraphQL responses, so that's a large amount of prior-art that says "no." There are also tools like normalizr to make (de)normalization simple on the frontend.

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