clay's Avatar

clay

@clay.codes

Here to discuss ts, rb, remix πŸ’Ώ, and rails https://next.clay.codes

28
Followers
204
Following
2
Posts
22.02.2024
Joined
Posts Following

Latest posts by clay @clay.codes

@github.com could learn from tools like Graphite: commit-level approvals, stacked diffs, and atomic merges.

The commit viewer in a PR could evolve into atomic PRsβ€”with CI and the ability to ship each one.

But to truly mimic stacked branches, you’d need commit grouping.

22.05.2025 05:14 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@nerdy.dev's scroll driven animation examples are a lot of fun!

I love how the `scroll-y-top` animation turned out in this table!

09.02.2025 04:03 πŸ‘ 34 πŸ” 5 πŸ’¬ 3 πŸ“Œ 1

I wish people would post more links to interesting things

I feel like Twitter and LinkedIn and Instagram and TikTok have pushed a lot of people out of the habit of doing that, by penalizing shared links in the various "algorithms"

Bluesky doesn't have that misfeature, thankfully!

22.12.2024 00:40 πŸ‘ 907 πŸ” 112 πŸ’¬ 45 πŸ“Œ 26
View Transitions Are More Powerful Than You Think
View Transitions Are More Powerful Than You Think YouTube video by Syntax

You are underutilizing View Transitions.

They can be used for so much more than animations on navigation.

I recently added a ton of life to a card game I'm making with just a couple lines of code via view transitions. Check it out!

youtu.be/jnYjIDKyKHw

19.12.2024 16:28 πŸ‘ 34 πŸ” 3 πŸ’¬ 2 πŸ“Œ 2
Preview
eslint-react ESLint React - A series of composable ESLint plugins for libraries and frameworks that use React as a UI runtime.

There's a linter to enforce this: eslint-react.xyz/docs/rules/h...

The whole eslint-react series of rules is great, as it builds the rules based on recommendations from the new react docs πŸŽ‰

23.11.2024 18:36 πŸ‘ 106 πŸ” 7 πŸ’¬ 3 πŸ“Œ 2
Preview
React Router v7 React Router v7 brings all the great things you love from Remix back to React Router

React Router v7 is here!

With framework mode, everything that made Remix great is now built into React Router.

remix.run/blog/react-r...

22.11.2024 22:28 πŸ‘ 422 πŸ” 68 πŸ’¬ 19 πŸ“Œ 14

don’t useEffect, but if you must, don’t call setState in it

23.11.2024 16:20 πŸ‘ 209 πŸ” 29 πŸ’¬ 16 πŸ“Œ 5
Preview
Remix - Build Better Websites Remix is a full stack web framework that lets you focus on the user interface and work back through web standards to deliver a fast, slick, and resilient user experience. People are gonna love using y...

New React Router v7 app just dropped

remix.run

13.11.2024 22:24 πŸ‘ 42 πŸ” 3 πŸ’¬ 4 πŸ“Œ 0

For react-router to remix migrators, I find it’s not immediately obvious the loader is a context that happens to be tied to a route.

useContext could be replaced by useLoaderData or useOutletContext depending on the use case.

Still finding a pattern on shared components.

16.11.2024 14:11 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0