Advertisement Β· 728 Γ— 90

Posts by Ugi Stelmokaitis

Important clarification πŸ‘‡

`satisfies` does NOT affect runtime behavior

It:
β€’ Does NOT merge objects
β€’ Does NOT override values
β€’ Is purely a type-checking feature

2 months ago 0 0 0 0
Post image

βœ… satisfies operator (TS 4.9+)

βœ”οΈ Enforces the shape
βœ”οΈ Preserves literal types ("#5a58f2")
βœ”οΈ Better autocomplete & inference

2 months ago 0 0 1 0
Post image

❌ Type annotation (: ThemeSchema)

This narrows the object to ThemeSchema

➑️ hex becomes string
➑️ Literal types are lost
➑️ Worse inference

2 months ago 0 0 1 0

Been working on a Design System and ran into a great TypeScript nuance that’s easy to miss πŸ‘€

The difference between : ThemeSchema vs satisfies ThemeSchema πŸ§΅β¬‡οΈ

2 months ago 2 0 1 0
Preview
Toggle Switch ...

codepen.io/ugi-dev/pen...

3 months ago 0 0 0 0
Video

Switch Toggle πŸ”›

Link to #codepen πŸ‘‡

3 months ago 0 0 1 0
Video

Team Section ✨

#Codepen πŸ‘‰ codepen.io/ugi-dev/pen...

3 months ago 1 0 0 0
Advertisement
Video

Availability Tag ⚑ #GSAP #Codepen

codepen.io/ugi-dev/pen...

3 months ago 1 0 0 0
Preview
CardStackInt ...

codepen.io/ugi-dev/pen...

3 months ago 1 0 0 0
Video

CardStack Interaction πŸƒ

Smooth shuffle animation using #GSAP. The details are key - timing, easing, and that satisfying snap.

What do you think? Any details you'd tweak?

Link to CodePen πŸ‘‡

3 months ago 0 0 1 0
Preview
Animating a Gradient Mesh with GSAP Motion Paths β€” Ugi Stelmokaitis A journey into the world of gradient meshes and GSAP Motion Paths.

Animating a Gradient Mesh with GSAP Motion Paths - Article

ugi.dev/craft/gradi...

3 months ago 0 0 0 0
Dark code snippet showing "r.profile.name = "Bob";" with a red cross and "compile error" indicating assignment to a readonly property fails.

Dark code snippet showing "r.profile.name = "Bob";" with a red cross and "compile error" indicating assignment to a readonly property fails.

Now πŸ‘‡

3 months ago 0 0 0 0
Dark code editor showing a TypeScript recursive DeepReadonly<T> conditional type and a User type with id and nested profile name.

Dark code editor showing a TypeScript recursive DeepReadonly<T> conditional type and a User type with id and nested profile name.

βœ… Do: Recursive conditional type

3 months ago 1 0 1 0
Dark code editor showing a single TypeScript line defining a type alias: "type ReadonlyUser = Readonly<User>;" with highlighted keywords.

Dark code editor showing a single TypeScript line defining a type alias: "type ReadonlyUser = Readonly<User>;" with highlighted keywords.

Typescript πŸ”Ή

❌ Don't: Shallow readonly.

This is top level readonly

3 months ago 1 0 1 0
Advertisement
Post image

Result πŸ‘‡

3 months ago 0 0 0 0
Post image

βœ… Do: Conditional union filtering

3 months ago 0 0 1 0
Post image

πŸ”Ή Conditional Types to Filter Union Types

❌ Don’t: Manually redefine unions

3 months ago 0 0 1 0
Video

Carousel animation made with #GSAP #React #Animation ✨

3 months ago 0 0 0 0
Video

#X Space interaction πŸŽ™οΈ

3 months ago 0 0 0 0
Preview
Team Invitation ...

codepen.io/ugi-dev/pen...

3 months ago 0 0 0 0
Video

Team Invitation πŸ“©

Made with #GSAP πŸ’š #Codepen link bellow πŸ‘‡

3 months ago 0 0 1 0
Advertisement

Good UI feels boring in a good way πŸ™‚

3 months ago 1 0 0 0
Video

Daily goal βœ…

#codepen link πŸ‘‰ codepen.io/ugi-dev/pen...

3 months ago 0 0 0 0
Post image

#Nextjs always delivers β€” fast, efficient, and future proof! ⚑
My personal website scored a perfect 100/100 on all Lighthouse performance metrics πŸš€
ugi.dev

3 months ago 1 0 0 0
Preview
Fingerprint Scanner ...

codepen.io/ugi-dev/pen...

3 months ago 0 0 0 0
Video

Fingerprint Scanner πŸ«†

Made with GSAP #codepen bellow πŸ‘‡

3 months ago 0 0 1 0
Video

Booking Confirmation πŸ›« 🎫

Made with #GSAP

3 months ago 0 0 0 0

Cooking something cool βœ¨πŸ‘€

3 months ago 0 0 0 0
Preview
Interactive Cards ...

codepen.io/ugi-dev/pen...

3 months ago 0 0 0 0
Video

Interactive Cards ✨

Link to #codepen bellow πŸ‘‡

3 months ago 0 0 1 0
Advertisement