Nerv

Languages and libraries

javascript ui library

SHOW HN2018

Nerv

A fast React alternative, compatible with IE8 and React 16

github.com

#react alternative#virtual dom#ie8 support#javascript framework

133points
73comments
#314of 2,155 in 2018
Top 15%of 2018 by points

How HN took it

MixedNo clear lean

6 positive, 21 neutral or asking, 1 mixed, 16 critical, out of 44 comments about the project. Thread score -0.23.

Idea: 1 for, 8 againstExecution: 1 for, 4 againstDocs: 0 for, 3 againstPerformance: 2 for, 1 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Zero dependencies and small size

    From 2 comments
    • As far as i can tell, this has zero dependencies. Wow - impressive stuff!
      chubs on HN
    • Size is nice but I see nothing to support claims of performance improvements and React performance is rarely a problem in most apps anyhow (data manipulation and JSON…
      abritinthebay on HN
  • Patching algorithm based on ivi, giving perf credibility

    From 1 comment
    • To add a bit of context to the second link (a comment I made): the core patching algorithm in nerv is based on the patching algorithm from ivi, a library that was created by…
      lhorie on HN

Objections

  • Performance claims lack clear benchmarks and labels

    From 3 comments
    • Shame that the y axis on the first 3 charts isn't labeled. I assume it's milliseconds, kilobites, milliseconds.
      milesokeefe on HN
    • The Y-axis on the benchmarks is labelled starting at 1. In short, this is barely 20% quicker than React.
      aetherspawn on HN
    • Don't know if you're the author but under the Performance section, there is a typo: "Le{r}an More". Also, your none of your performance graphs have a label/unit of measure for…
      kamikaz1k on HN
  • IE8 support is a niche use case

    From 2 comments
    • If that's the only reason thats a reasonably small niche - WinXP only most likely. I mean China & India have more of those machines but... it's still a niche.
      abritinthebay on HN
    • I'd consider supporting IE8 an anti-feature. The browser is insecure, unsupported, and non-standards compliant. I've spent way too many hours of my life learning quirks of the…
      TheAceOfHearts on HN
  • Small community and no stated tradeoffs

    From 2 comments
    • > hoping one of the authors chimes in and clarifies That is an example of exactly why not - the support behind React is huge. Even if we take their word that Nerv is great from a…
      codingdave on HN
    • I'm a bit weary of this project since neither the website nor the readme mention any tradeoffs. Surely, if I choose Nerv over React I miss out on something—what is that…
      mxstbr on HN
  • Does not work with ReasonReact and depends on React internals

    From 1 comment
    • I tried this on my ReasonReact app and it doesn't work. Seems like this has many assumption about React internal instead of focusing on the public API
      thangngoc89 on HN

Requests

  • Explain how performance gains are achieved

    From 2 comments
    • It would be great if the author could explain where the performance gains come from and what the internal mechanics of the project are. Does it piggy back onto the existing react…
      lgse on HN
    • Do you have any performance numbers or benchmarks by which to measure the claims of superior performance? I’m not doubting you do see better perf - but I’m curious how this…
      jitl on HN
  • Run the React 16 test suite against Nerv

    From 2 comments
    • Thinking about this more, the React team recently (for the v16 rewrite) rewrote almost their entire test suite to use their public API. I wonder what'd happen if you ran that…
      mxstbr on HN
    • Is it 100% pass the React 16 tests?
      KayL on HN

Questions

  • Is it a fork of React or Inferno

    From 2 comments
    • It's not even based on a fork of React, either. I took a quick look at some of the earlier commits... and if there's any underlying React code there, then it's either been…
      dentemple on HN
    • Is this a fork of inferno js?
      dqv on HN

Alternatives named

  • React

    From 1 comment
    • I'm a bit weary of this project since neither the website nor the readme mention any tradeoffs. Surely, if I choose Nerv over React I miss out on something—what is that…
      mxstbr on HN
  • Preact

    From 2 comments
    • Size is nice but I see nothing to support claims of performance improvements and React performance is rarely a problem in most apps anyhow (data manipulation and JSON…
      abritinthebay on HN
    • There have been drop in replacements for react+react-dom before, like inferno and preact. They all have claimed perf benefits, though benchmarks usually don't mean much. The size…
      mlsarecmg on HN
  • Inferno

    From 2 comments
    • Is this a fork of inferno js?
      dqv on HN
    • There have been drop in replacements for react+react-dom before, like inferno and preact. They all have claimed perf benefits, though benchmarks usually don't mean much. The size…
      mlsarecmg on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/16117047)