Skip to content

Sending all data to the front end #17

@ZooeyMiller

Description

@ZooeyMiller

You're making your API call in the back end, but not doing anything with the data, just immediately handing it off to the front end, so in your front end code (dom.js) you get the array of topics, and loop through them 10 times, instead you could cut this array down to 10 items before sending it to the front end.

One of the benefits of making an api call from your back end is to be able to process the information on your server, and send only the information that is needed to the client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions