docs: move inherits to preferred manifest#451
Conversation
| "inherits": { | ||
| "id": "inherits", | ||
| "type": "removal", | ||
| "description": "You can just use the `class` syntax.", |
There was a problem hiding this comment.
we should probably just keep inherits since all other removals work this way (i.e. every removal and its mapping have the same id).
we just need to reword the description and set the URL. we should also mention Object.create
There was a problem hiding this comment.
It's not exactly a 'removal', I think it should be either 'documented' or 'native'. 'removal' is more for things that can be removed without adding anything in return
There was a problem hiding this comment.
I think making it 'documented' would be better so we could better explain how to move from inherits to something else
There was a problem hiding this comment.
you are right, its not a removal. it is native though - just there are two possibly syntaxes to replace it.
because of that, sure lets put it in preferred manifest for now as a documented replacement.
very simple example in the doc of extends and Object.create
all done then
inherits descriptioninherits to preferred manifest
Closes #147