journal (Sat Jun 06 2020)

Today I learnt

  • #svg
  • #gsap
  • #cms
  • #devops
  • #react

There are 2 kinds of curves - Quadratic and Cubic bezier. Quadratic has one control point, cubic has two.

I was almost about to create a library with the same interface. So glad this already exists. https://www.npmjs.com/package/@rob10e/svg-path-js

Came across this interesting svg library for creating svg's https://svgjs.com/docs/3.0/

Examples for creating quadratic and cubic curves. http://blogs.sitepointstatic.com/examples/tech/svg-curves/quadratic-curve.html

This gsap forum post has an interesting animation.


Ive played with Strapi before, but webiny seems like another good option that I can explore.


Perhaps there is a way to add a subdomain to zeit/vercel.

  • https://atymic.dev/tips/zeit-now-dns-management/
  • https://vercel.com/docs/v1/getting-started/assign-a-domain-name#4.-using-a-custom-domain-with-a-cname

I didnt realize until now that react uses event pooling so you cannot access the synthetic event in an asynchronous way.