Download EPUB

(Medium) Front-End Separation

Gist 1 min read Original article

This article is too short to generate a summary.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

//=============================
// THE API BACK-END PROJECT
//=============================
const userDetailsParsedResponseBody = {
- firstName: 'John',
- lastName: 'Doe',
+ fullName: 'John Doe',
};
// ...
//=============================
// THE CLIENT FRONT-END PROJECT
//=============================
// ...
render() {
const userDetails = this.props.userDetails;
return <section>
<h1>{userDetails.fullName}</h1>
// ...

Report this article

Keep this one

14 days free, no card. Then $60 a year ($5 a month, billed yearly) or $10 a month.

Your saves stay readable and exportable, even if you stop paying.