This is throwing more stuff at trying to improve a bad fundamental pattern (reactive effects via useEffect).
If you use TEA (the Elm architecture) none of this is necessary.
stately.ai/docs/xstate-... in a great implementation for React.
This is throwing more stuff at trying to improve a bad fundamental pattern (reactive effects via useEffect).
If you use TEA (the Elm architecture) none of this is necessary.
stately.ai/docs/xstate-... in a great implementation for React.
So a couple of months ago I changed that to be an explicit shortcut.
But I noticed that since then, I hardly use it. Maybe it wasn't that useful.
So a couple of months ago I changed that to be an explicit shortcut.
But I noticed that since then, I hardly use it. Maybe it wasn't that useful.
But in V3 they added side effects handling. With this addition is mostly the perfect state management solution I want. Trying it in our app.
Pretty much what I'm looking for is Elm TEA in react.
But in V3 they added side effects handling. With this addition is mostly the perfect state management solution I want. Trying it in our app.
Pretty much what I'm looking for is Elm TEA in react.
- Failure isolation
- Independent scaling, versioning and deploys
But there are huge tradeoffs for me:
- Lots of incidental complexity and repetition
- Weak contracts
- Very high maintenance burden
- Harder to work with and refactor
- Failure isolation
- Independent scaling, versioning and deploys
But there are huge tradeoffs for me:
- Lots of incidental complexity and repetition
- Weak contracts
- Very high maintenance burden
- Harder to work with and refactor
Do we process x for a customer? Need to look at CF yaml. It is like a terrible and untested programming language. I hate it.
Do we process x for a customer? Need to look at CF yaml. It is like a terrible and untested programming language. I hate it.
Components can have lots of non explicit inputs with hooks. Which can get global mutable state from lots of spaces.
Components can have lots of non explicit inputs with hooks. Which can get global mutable state from lots of spaces.
www.conventionalcommits.org/en/v1.0.0/
However 'feat' is often used for user facing features and internal features. Gets confusing.
We need a distinction. I rather not use the scope for this.
Trying to find a good word for 'internal feature'.
www.conventionalcommits.org/en/v1.0.0/
However 'feat' is often used for user facing features and internal features. Gets confusing.
We need a distinction. I rather not use the scope for this.
Trying to find a good word for 'internal feature'.
I found it interesting that you need to explicitly subscribe to state all over the place (to avoid re-renders). Otherwise the view is stale.
One big promise of React was not having to do this.
I found it interesting that you need to explicitly subscribe to state all over the place (to avoid re-renders). Otherwise the view is stale.
One big promise of React was not having to do this.
This is a great intro chrismalek.me/posts/data-s...
I still have one complex interaction in my app where a front-end framework like Elm is better.
But for the majority of interactions Datastar is excellent.
This is a great intro chrismalek.me/posts/data-s...
I still have one complex interaction in my app where a front-end framework like Elm is better.
But for the majority of interactions Datastar is excellent.
It is like htmx but can do more things.
It took me a while to understand how to send responses from the server.
So far I'm quite happy with this.
It is like htmx but can do more things.
It took me a while to understand how to send responses from the server.
So far I'm quite happy with this.
But the lack of a file tree is a huge downside. I don't want to figure out how to configure helix and zellij and yazi together in order to have a file tree.
But the lack of a file tree is a huge downside. I don't want to figure out how to configure helix and zellij and yazi together in order to have a file tree.
Leaning so heavily on a component lib like this was a huge liability. Made it impossible to upgrade other things.
Now it is mostly vanilla html and some Radix components for the hard stuff.
Leaning so heavily on a component lib like this was a huge liability. Made it impossible to upgrade other things.
Now it is mostly vanilla html and some Radix components for the hard stuff.
I empathize a lot with this. But moving to a different stack is not an immediate possibility for us. So instead my strategy has been to replace libs with of our own implementations. E.g. our own router, query string parser, form lib, etc.
I empathize a lot with this. But moving to a different stack is not an immediate possibility for us. So instead my strategy has been to replace libs with of our own implementations. E.g. our own router, query string parser, form lib, etc.
Based on the same facts One says that this stuff will run everything in the future. The other says that it is all just cons and frauds.
They just see the part they want. Hard to get balanced views.
Based on the same facts One says that this stuff will run everything in the future. The other says that it is all just cons and frauds.
They just see the part they want. Hard to get balanced views.
Also this other one is a great listen m.youtube.com/watch?v=qtoe...
Also this other one is a great listen m.youtube.com/watch?v=qtoe...
Sorry, React just frustrates me, the fact that this error is a thing, is for me a clear symptom of the terrible design of hooks.
Sorry, React just frustrates me, the fact that this error is a thing, is for me a clear symptom of the terrible design of hooks.
I really like when it gives a one line suggestion.
But when it tries to suggest a whole function body, it just gets in the way.
I need to learn if it is possible to disable longer suggestions.
I really like when it gives a one line suggestion.
But when it tries to suggest a whole function body, it just gets in the way.
I need to learn if it is possible to disable longer suggestions.
A UI component library is a very heavy dependency, that is hard to remove or swap.
takeaways for me:
- resist using a lib like this as much as possible
- if using one, create a small layer in the app that wraps that lib
A UI component library is a very heavy dependency, that is hard to remove or swap.
takeaways for me:
- resist using a lib like this as much as possible
- if using one, create a small layer in the app that wraps that lib
Need to spend days updating things before starting what we need. Hopefully there isn't more things that need updating.
Need to spend days updating things before starting what we need. Hopefully there isn't more things that need updating.
It is going to make using social media harder for everyone and the kids will bypass the ban anyway.
It is going to make using social media harder for everyone and the kids will bypass the ban anyway.