Szymon Pajka
szympajka.com
Szymon Pajka
@szympajka.com
Web Developer
amazing, thanks for sharing!
April 14, 2025 at 9:57 AM
How do I generate one? :D Is there a prompt ready to use? :D
April 14, 2025 at 8:41 AM
I agree! It’s a testament to the craftsmanship! And it just makes code so much more beautiful! 🤩
March 3, 2025 at 4:20 PM
What’s new? 😀
February 28, 2025 at 6:16 PM
This is phenomenal! I love CSS became so powerful, and oklch makes is almost like a cheating! I built a project lately where I used CSS variables to change its values for hover/active states!
February 15, 2025 at 10:53 PM
I think it does show you know your field… so sort of does?

I got this thought after asking AI to answer a general field question in which I specialise in, and it just failed to get into the meat of the problem.

And I guess you need to know that, to judge it, right?!
February 11, 2025 at 7:03 PM
*hardcore
January 23, 2025 at 4:10 PM
This is so cool! Congrats! I had m gimmick of this kind to solve recently and I ended up using inline style where I set the css variable. It did the job, but attr was what I really needed! Can’t wait for it to reach a baseline!
January 16, 2025 at 11:01 PM
On that note, is anyone hiring for a Design Engineer position? I’m quite interested to know if anyone is considering this role!
January 16, 2025 at 2:04 PM
I think I will end up doing state merges, and I will know what changed by looking at state snapshots, but I was just trying to think if there is a smarter way to tackle it, and this is where use effect deps array came into mind!
December 13, 2024 at 1:17 PM
And to be precise, the if fns are working as selectors, where you receive form state, and you consume all values you need to ascertain if access is allowed.
December 13, 2024 at 1:17 PM
Issue I am trying to solve is letting people going back in routes, as they came (which for me means going back in state), but because I designed the API so each route manages its own access via if fn, I was wandering how can I know what dependencies given if fn uses so I know what has to be patched.
December 13, 2024 at 1:17 PM
I have a multi step form manager, where I can define routes using React Router syntax. Each route manages its own access policy, by exposing „if” function, which when resolved as true, will let you in, otherwise you will not be able to access the page.
December 13, 2024 at 1:17 PM
Hmm I think I see it! So react doesn’t really know „what” changes or what piece of state is a dependency, it just compares if it changed? So this is where if I were to change order of deps, effect would rerender, even if all values are still the same?
github.com
December 13, 2024 at 11:26 AM
Does is define its custom getters? Runs values via proxy? Uses „toString” and then parses code?
December 13, 2024 at 11:08 AM