-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Draft 0.11.0 Umbrella #1312
Comments
I noticed that the peerDependencies for 0.11.0 are:
Are there plans to also support Thanks for the great work! 👍 |
Hi Steve! Absolutely - thanks for the reminder. Should work without a hitch, since we have been using Draft.js with React 16-alpha internally for some time now. |
@flarnie if supported React 16, will be |
Edit: Of course, now that I think about it it makes sense that you are having this issue. Draft.js is requiring React 15 as a peer dependency, and if you also load React 16 then you'll have 2 copies of React loaded. I would manually tweak the Hi @nodkz - I know that error is confusing, sorry about that. From what we have seen, it pretty much only happens when you have somehow loaded two copies of React. If you tell me more about your build system I might be able to help. Here is an issue where other folks have talked through this same problem and we documented some cases and solutions: |
@flarnie thanks for help! Easiest way to make
How I understood when I upgraded from React 15 to React 16-beta PS. Ref as string is not a problem for React 16. All works like a charm. |
Just an update - still blocked on "Update Facebook Draft uses to 0.11.0 API (for context see #839) - 29 remaining callsites need updated". Unfortunately I need someone within FB to work on those tasks and I'm mainly focused on React right now, so haven't churned through them yet. Thanks for everyone's patience. |
Hi! Any news on this one? I'd really like to try out 0.11 as it solves a few annoyances for us (the main one being making the entity state fully immutable so updated entity data triggers a re-render properly) but I noticed the 0.11-alpha is quite far behind master. I guess this is still blocked due to FB needing to dedicate resources, but would it be feasible to merge master into the 0.11-alpha branch so we can test it, or does that not make sense? Thank you in advance! |
tldr; This is not on any team's roadmap and it's more work than I can do in my spare time, so no progress yet. Until someone within Facebook takes it on it likely won't progress. In about 5 months I may try championing this project again, but for now I'm booked working on other efforts. At that time I will recommend forking Draft internally, and we leave behind less vital uses of Draft.js without blocking progress of features for our main uses on Facebook and Messenger. |
@flarnie will the editor evolve or not? It makes sense to wait for a major release? |
@flarnie Sorry to bother, but it would be nice to have that information on the repo's README. We've adopted draftjs around March, as we figured it was still active, but I've just now found this information, after having to slog through a rather large amount of bugs. |
more recent update from @flarnie on another thread: #1193 (comment) |
I will start by admitting that I am no paragon of keeping open source projects up to date (see import-js/eslint-plugin-import#1249 😅) but it would be nice to get a prognosis update for the maintenance status of this project from the maintainer's perspective, particularly after the September update linked in my preceding comment. Like others, I am trying to figure out after a little bit of time using (and enjoying!) this project whether I need to consider something else or forking to get the current |
Hi @benmosher, thanks for voicing the concerns that most users in the community are having. We are looking into reducing the bundle size after the addition of a new HTML converter which coexists with the old one. This is currently being dogfooded internally for regression and, since it caused a breakage in production earlier, we're being extra scrupulous with testing. We'll keep you updated on progress in this issue. |
Hi, what is the status of this? I can see the release of v0.11, but this issue is still open and checkboxes not checked. Were all the above tasks finished? E.g. can we rely on v0.11 being fully tested? I am also missing branch v0.11-stable, can we consider master as such? |
Yeah, I think we could just close this issue... the new releases are there... |
The removal of the global |
If you've followed the v0.10.0 migration guide then you're all set to try the alpha release of Draft 0.11.0!
Get this new and improved Draft.js by installing
[email protected]
or updating your package.json to the following and runningyarn install
/npm install
:And help make Draft better by reporting bugs. :)
Progress towards releasing Draft 0.11.0:
The text was updated successfully, but these errors were encountered: