Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: add explicit deprecation notes to Entity methods (#1787)
Summary: **Summary** The note in the docs `Please note that the API for entity storage and management has changed recently; for details on updating your application see our v0.10 API Migration Guide` doesn't give a quick clear idea of what I should use instead of the old methods (I need to go to that migration guide, but let's suppose I'm a new user and I don't have any code to migrate). The problem becomes obvious after getting warnings in the browser console. So my suggestion is to place deprecation notice right in the name header. I believe this would save some time for those who open docs just to see the method signatures. Now (https://draftjs.org/docs/api-reference-entity.html): ![image](https://user-images.githubusercontent.com/439939/41491613-39a1cfb2-710b-11e8-849b-4f8a13bf9088.png) What I suggest: ![image](https://user-images.githubusercontent.com/439939/41491621-43f89af4-710b-11e8-8d71-2c3c20054e42.png) Pull Request resolved: facebookarchive/draft-js#1787 Differential Revision: D10234733 fbshipit-source-id: 8f7c32ad4f0da203ffe0a80584781413681ba158
- Loading branch information