Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// helpers/backend_helper.js
import { get } from "./api_helper";
import * as url from "./url_helper";
export const getPosts = () => get(url.GET_POSTS);
export const getPostDetails = (id) =>
params: {
id: id,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment