Style with functions, objects, and IntelliSense

1. Typœ-reduction and better auto__ompletion 🤝


🎉 Adding support for CSS-classes

Github:

Milestones:


FP and OOP teaming up to fight code redundancy

The scenario

  • RGB
  • RGBA
  • HSL
  • HSLA
  • HEX
  • Length
  • Percentage
  • Decibel
  • Time
  • Transformation


Define nominal types within a structural type system

Nominal & structural typing

Nominal Typing


An introduction

An experimental Javascript styling library

1. 🧰 Strongly typed API


Style objects vs utility-classes


What makes a pure function pure?

  1. Given the same argument(s), it will always return the same result
  2. It must not produce side-effects.

1. Given the same argument(s), it will always return the same result:

const context = {
currentLocale: 'sv'
};
const messages = {
welcomeMessage: {
sv: 'God…

Hugo Nteifeh

Fullstack developer with an interest in linguistics and psychology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store