observablehq / parser

The Observable parser.
ISC License
176 stars 27 forks source link

Add "nodeName" to protected globals #207

Closed prichey closed 1 year ago

prichey commented 1 year ago

React will throw if any DOM element gets an ID of "nodeName". We automatically assign any cell an ID with its name, which creates the potential for client errors if a nodeName cell is created.

Screen Shot 2023-03-01 at 9 48 01 AM
mbostock commented 1 year ago

I don’t think we should do this; we should instead fix our code to avoid creating the global.