Skip to content

Refactor and modularize processSection.js #71

@rexagod

Description

@rexagod

This has been marked as a good candidate for becoming a first-timers-only issue like these, meaning that it's simple, self-contained, and with some extra formatting, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider reformatting or reposting it as a first-timers-only issue, and then ping @jywarren to get it labelled. Or, if this is not your first time, try to solve it yourself!

To complete this PR, we want you to convert processSection.js into smaller modules and then make use of those inside it. We'd also like if you could, along the way make some refactors such as reducing the numbers of params passed to a function by encapsulating them into an object
with similar props and accessing it accordingly. A good place to start doing this is

// we should need fewer things here:
o.onComplete(xhr.status, after, html, _el, uniqueId, __form, o);

Also, please don't hesitate to ping me, or @jywarren to help you if you're stuck anywhere!

Thanks! 🎉

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions