Readit News logoReadit News
trueadm commented on Ripple: new JavaScript framework from an ex-React & Svelte core team member   github.com/trueadm/ripple... · Posted by u/llcooliovice
rk06 · 7 months ago
wow, i can't believe it. after all this time, another js framework!!?

well, I am glad that Dominic is honest about it having lots of bigs, so people won't jump at at it.

though, I wish he has a added section on why he ruled out contributing to svelte/vue/solid etc

trueadm · 6 months ago
I contributed to React and Svelte on their core teams for years. Sometimes you just need to break free
trueadm commented on Ripple – A TypeScript UI framework that takes the best of React, Solid, Svelte   github.com/trueadm/ripple... · Posted by u/ermeen
ixxie · 6 months ago
Thank you for all your contributions! Svelte 5 is a blast.

If you don't mind me asking, why did you leave? What do you plan on working on going forward?

trueadm · 6 months ago
It was a good time for change, I was working on Svelte 5 non-stop for two years! I'll be announcing my new role nearer the time :)
trueadm commented on Ripple – A TypeScript UI framework that takes the best of React, Solid, Svelte   github.com/trueadm/ripple... · Posted by u/ermeen
wewewedxfgdf · 6 months ago
I did not want to embarrass the author but the LLM showed that this library is absolutely full of major security holes.

And yes, it's an LLM that pointed them out.

So, are you saying the security holes don't exist because an LLM found them?

trueadm · 6 months ago
Please can you create a Github issue with the security holes you've found? That would be greatly appreciated. I've given it a sweep and found nothing.
trueadm commented on Ripple – A TypeScript UI framework that takes the best of React, Solid, Svelte   github.com/trueadm/ripple... · Posted by u/ermeen
ixxie · 6 months ago
I noticed Dominic mentioned he is "between roles" in the README; I suppose that implies he left Vercel? Does it mean he is leaving the Svelte team too?
trueadm · 6 months ago
I left Vercel a few weeks ago and I left the Svelte team earlier this year.
trueadm commented on Svelte 5: Runes   svelte.dev/blog/runes... · Posted by u/benmccann
cornfutes · 2 years ago
> I am assuming it's because the users who are making these frameworks now have not used or do not remember the times where "signals" were called observables

And also a tendency to not have experiencing working on large web apps (I’m talking 100k+ cloc) where issues arise, and why those React engineers made the decisions that they did

trueadm · 2 years ago
I work on Svelte 5 and I was also a React engineer on the core team previously FWIW.
trueadm commented on Lexical – a web text editor framework that powers Facebook   playground.lexical.dev/... · Posted by u/trueadm
mhdhn · 4 years ago
There do not seem to be text direction controls. I see it does basic heuristic text direction guessing, apparently based on first strong LTR or RTL character in a paragraph, but this is often not adequate for determining text direction correctly, hence the need for explicit control, at least at the paragraph level, ideally also at subparagraph level. Any plans to add such controls? There are about a billion users of bidirectional languages (Arabic, Hebrew, Farsi, Urdu, Yiddish, et al).
trueadm · 4 years ago
You can set the direction of the ElementNode explicitly to define LTR/RTL semantics. By default it’s automatically detected.
trueadm commented on Lexical – a web text editor framework that powers Facebook   playground.lexical.dev/... · Posted by u/trueadm
chrismorgan · 4 years ago
Hmm, just tried the playground in Firefox on Linux, it’s about as buggy as fancy things like this tend to be.

• Inserting emoji with my Compose key: some (e.g. U+1F641) get turned into image-backed emoji and then duplicated unless preceded by another image-backed emoji; some (e.g. U+1F928) get ignored and left as normal text.

• If I type an emoji that gets duplicated while inside a link (but not inside bold/italic), one goes where the caret is, and the other goes immediately before the link, and it leaves the caret there.

• The image-backed emoji are incompatible with inline text formatting: if you type them in the middle of formatted text, instead of ending up with the likes of <u>text EMOJI text</u>, you end up with <u>text </u>EMOJI<u> text</u>, and although you can subsequently apply the formatting so that it shows in the debug tree, it doesn’t change the HTML markup (e.g. subscript/superscript/underline/code should certainly be visible, and even italic and bold can change emoji rendering).

• If I select part of a link starting outside the end of a link (that is, go one character past the link and then press the Left arrow key—Firefox has valid caret positions for both inside and outside the start and end of an element, depending on which direction you came from, which my faint recollection was a major trouble point on WebKit many years ago, that you couldn’t do that and so literally couldn’t model various reasonable, kinda like multiple selection which is also Firefox-only and extremely useful on tables) and delete that, instead of just deleting the selected characters, it deletes the entire link. (As above, this seems to be specific to links, not affecting bold/italic.)

• Very early on (before I had done any editing at all) when I tried the time travel feature, I somehow activated the autocomplete popup on the words “The playground” by clicking or something, even though autocomplete was not turned on (I only confirmed that that was what it was, and not a spelling corrector, by later enabling it and typing “the”) and it was supposed to be read-only.

• Resizing table rows and columns is very buggy, with things like the grippies easily getting lost, the table-cell-action-button not updating its position, and it sometimes failing to act on mouse up. (Props for including the functionality, though, as it’s normally overlooked.)

• Clicking in table cells always moves the caret to the start of the cell rather than where you clicked, meaning you have to use arrow keys to get to the right place, and can’t select properly by mouse either.

• Pop-up menus don’t scroll with the document while open.

• Autocomplete popup doesn’t close when you move the caret by mouse, though they will no longer work if you click on them.

• Incidentally, who thought it a good idea to apply `list-style-position: inside`?

And this was from a fairly quick test. I found most of this stuff immediately and would expect to hit most of these issues in real life.

I honestly wish people would try to be less fancy with WYSIWYG components, because the web platform just isn’t well-adapted to it.

trueadm · 4 years ago
Thank for the detailed input. Would it be possible for you to create a GitHub issue around these (or many issues?) so that the team can track them and fix them. Thanks again!
trueadm commented on Lexical – a web text editor framework that powers Facebook   playground.lexical.dev/... · Posted by u/trueadm
lawrencechen · 4 years ago
I put Lexical through Hog Bay's Moby Dick test [0] (paste the entirety of Moby Dick, scroll to the middle, and try editing). It didn't pass. AFAIK, only ProseMirror passes, albeit with some lag.

[0] https://www.hogbaysoftware.com/posts/moby-dick-workout/

trueadm · 4 years ago
We have some important changes landing soon that will make insertions O(1) rather than the current O(n) - so this will greatly improve performance.
trueadm commented on Lexical – a web text editor framework that powers Facebook   playground.lexical.dev/... · Posted by u/trueadm
pier25 · 4 years ago
It's currently a bit broken on Android.

I select some text and then try to change the font size. The selection is lost when tapping on the font size menu.

ProseMirror does keep the selection intact.

trueadm · 4 years ago
It's probably because we're using a native select element, which likes to steal selection on Android.
trueadm commented on Lexical – a web text editor framework that powers Facebook   playground.lexical.dev/... · Posted by u/trueadm
jitl · 4 years ago
https://github.com/facebook/lexical/blob/5802651c24d88b2f7d2...

> // Check for any random auto-added <br> elements, and remove them.

> // These get added by the browser when we undo the above mutations

> // and this can lead to a broken UI.

This made me laugh out loud. Browsers!

Until here our approach looked quite similar. Leave the observer connected during reverts and avoiding double-peocessing using .takeRecords never occurred to me, I always disconnect it. Maybe some of these brs are causing chaos…

trueadm · 4 years ago
Now thinking about it, I don't know why we didn't just do that. There must have been a reason, but I really can't recall what it was. If you're ever interested in contributing, this would be an epic contribution! :D

u/trueadm

KarmaCake day622April 24, 2016View Original