Skip to content

Latest commit

Β 

History

History
47 lines (32 loc) Β· 888 Bytes

README.md

File metadata and controls

47 lines (32 loc) Β· 888 Bytes

MojiPic

mojipic.app

CI

An app for making emoji pics.

☁️☁️☁️🌈🌈
β˜οΈπŸŒ¦οΈπŸŒˆπŸ‘Ίβ˜˜οΈ
🌧️🌈🌳☘️☘️
πŸŒˆπŸ€β˜˜οΈπŸŒ³πŸ¦Œ
πŸ’°πŸ§πŸΌπŸŒ³πŸŒ³πŸŒ³

Setup

cd web
yarn

Run

# ./web
yarn start

Test

# ./web
yarn test

Design notes

The logic for the drawing canvas is in drawing.ts. The class is treated as immutable. Operations on the drawing return a new object, so they can be used for React state updates.

Recoil is used for state management. Basic useState at the root would have worked fine, as the app is small, but I'm here to learn! πŸ€“