Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cleanup code: native promises, async/await, remove lodash etc #7171
Well, this a rather big one and should be done in steps and with caution, preferably one file at the time.
I have been working with the framework for some time now and when you start digging into the core there are a lot of "old-ways" of doing stuff.
IMO we would drastically improve code quality, increase readability, allow for better productivity and potentially introduce fewer bugs if we're to apply these changes to the framework:
Similar or dependent issues:
@richarddd great thanks for putting light on that.
We're aware of that issue, and want to do that shift soon. Still it'll require drop of support for Node.js v6+, and that's technically breaking semver wise, so we hold it until v2.0.0 release.
This best if done with async/await (otherwise it's doubled effort)
We can do that now. I would start by replacing those that can be easily fill in by native counterparts (as