Show HN: I Created ESLint Plugin That Finds Invalid HTML Nestings in JSX

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
  • eslint-plugin-validate-jsx-nesting

    ESLint Plugin to Validate JSX Nestings

  • validate-html-nesting

    Validate parent-child nesting for HTML elements

  • Invalid HTML Nestings such as a

    inside a

    is invalid and browser automatically fixes it by putting the

    outside the parent

    and so the DOM ends up rendering different structure than JSX. There are a lot of such invalid nestings. See [this](https://github.com/MananTank/validate-html-nesting/blob/main...) For Example.

    This is problematic and creates all sorts of bugs in Frameworks. Most Frameworks that use JSX (such as React, SolidJS, Preact) checks for invalid HTML Nestings at runtime and logs an error. ( Though this runtime checks are not very comprehensive - React has decent list of checks but is still missing quite a few )

    Until now there was no way to check for such invalid Nestings without running the code. So I've created this ESLint Plugin to do just that.

    This does not mean that we get rid of runtime invalid nesting checking, because This ESLint plugin can not predict what your component's top level element will be - because that would require running the code. So consider this as a tool to catch 99% of the invalid nestings without running the code.

  • 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

  • Marp – Markdown Presentation Ecosystem

    1 project | news.ycombinator.com | 6 May 2024
  • How to Scrape Google Finance

    1 project | dev.to | 6 May 2024
  • Show HN: Snaplet Seed – Seed data made easy

    1 project | news.ycombinator.com | 6 May 2024
  • Show HN: Can AI keep my code up-to-date?

    2 projects | news.ycombinator.com | 6 May 2024
  • Open-source notification infrastructure for developers

    1 project | news.ycombinator.com | 6 May 2024