1,102 karma · joined Jun 12, 2015 (11y ago) · 1,205 submissions
comment 5y ago · link · parent
Now you have tables and relation. Only few people understand the usefulness of Compound Document, currently.
comment 5y ago · link · parent
Since Elm is immutable and lazy render, most of the time, compare underline object reference (referential equality check), the reference (memory location) almost always changes on every update cycle because it needs to update model, thus, a new reference as a result. And that makes Html.Lazy worthless. I had some kind of 1000 html tree nodes, and it rendered every branch every time. I probably did something not right, but I already tried solving that for a few days, no success.
If you have the Elm in Action book, that memory location pitfall is explained on the very last page about when memory location of a object changes.
comment 5y ago · link · parent
"server-side rendering" nowadays only means "Nodejs server", there's nothing conceptually server-side paradigm.
comment 5y ago · link · parent
I would say these claimed nerds are very irrational especially those who only consume and barely create and sell software.
comment 5y ago · link · parent
And I want that store to have only literally "one" page for API documentation. All I want to check on my app is `authorized?(user.subscription)`
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
- No one cares there. There are many elites in Thailand that don't like him. Thai elites only like his father! The current king's behaviour does not spark joy (does not serve their cultural value whatever). I'm quite sure there are more people in Thailand than in Germany who like to criticize the king (and they've been gossiping for many decades!, he does not like these gossip .. he can't throw these elites in jail easily, too much damange)
- Bavaria is nicer than Bangkok apparently since he like riding bikes .. nicer nature than bangkok.
- He likes power, money, women, but he does not like anything that interfere his private life! In thailand, he has to do lots of ceremonies, it's annoying.
comment 5y ago · link · parent
918.
Jtml – Tagged Template Function(github.com ↗)
2 points · by Existenceblinks · 5y ago · discuss
comment 5y ago · link · parent
Stateful (I mean really keep things in assigns) sounds like an inefficient caching. Not all assigns are per user, caching the same things on each process is redundant. And to share these things as one set of data is to put them somewhere else, most likely in a process under the root supervision tree. And there's less point for using LV.
Folks forgot how fast Phoenix.View rendered from controller was (a hello page is microsecond!) it's pretty damn good.
comment 5y ago · link · parent
Can you explain, what technique you use to update DOM (I'm lazy to walk through code base), is it proxy object like Solidjs, or something like "uhtml". How do you manage to dispose event listener internally (is memory leak possible around that?)
---
Just read some docs it seems like using Proxy!
comment 5y ago · link · parent
comment 5y ago · link · parent
This is true for DocumentFragment as well.
But I can see objects are lighter. One of my app is tree based .. so DFlex looks interesting to me, but would love to see Svelte style examples to see how easy to build things with it.
Syncing store between collaborative session via backend would be interesting.
comment 5y ago · link · parent
The data structure looks like it's well-designed for wide range of application.
How is performance compared to DocumentFragment[1], and how DFlex is nicer than Node api[2] that also work with DocumentFragment out of the box?
[1]: https://developer.mozilla.org/en-US/docs/Web/API/DocumentFra... [2]: https://developer.mozilla.org/en-US/docs/Web/API/Node
comment 5y ago · link · parent
It's wise that they added the heal and clone tools, many people only use those two in PS.
comment 5y ago · link · parent