Skip to content

Instantly share code, notes, and snippets.

Avatar

Ali Almohsen AliRain

View GitHub Profile
View store.js
const store = {
posts: [
{
id: 'p123',
title: 'Best React pattern in the world!',
author: 'a123',
comments: ['c123', 'c124'],
},
],
authors: [