---
title: "Mariusz Kowalski (@Snien) | Hashnode"
description: "Mariusz Kowalski (@Snien) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Snien"
---

@Snien

# Mariusz Kowalski

@Snien · Joined February 2024

## Comments

[Michał Miszczyszyn Ok, then I am missing a key piece of information in the presented pattern - how to pass information to < UIButton /> about what state the placed children are in, especially when our UI is dependent on the state of the application (spinner animation in the UIButton when it processes a request, or disabled state) e.g: < UIButton > < button > Send Request < / button > < / UIButton >. < Link >Try to redirect < / Link > < / UIButton >.](https://hashnode.com/posts/polymorphic-components-in-react/65d1053c3e8dc8840410d06c/comment/65d286b86e214c4fb603edb0#reply-65d658ad5ffe3f7c88097a27)

Reply · Article · Feb 21, 2024 · [Polymorphic components in React](https://hashnode.com/posts/polymorphic-components-in-react/65d1053c3e8dc8840410d06c)

[Can this pattern be combined with StyledComponents? If so, how to do it right?](https://hashnode.com/posts/polymorphic-components-in-react/65d1053c3e8dc8840410d06c/comment/65d286b86e214c4fb603edb0)

Comment · Article · Feb 18, 2024 · [Polymorphic components in React](https://hashnode.com/posts/polymorphic-components-in-react/65d1053c3e8dc8840410d06c)
