News for hackers. Stuff that matters.
Re:Imba the new JavaScript based language having Python,Ruby... by somebee on Monday November 19, 2018 @04:27PM (#18489900)
We do recommend using keyed elements (indexing using <tag@{mykey}> syntax) for large lists. It includes automatic pruning of cached unmounted elements etc if you reach a certain threshold of unique memoized nodes within a list over time).

It performs a lot better for a platform like scrimba at least - which is pretty dynamic.

I just hope other frameworks will adopt our approach, because it really is a huge step forward compared to most of what is out there today.

Re:Imba the new JavaScript based language having Python,Ruby... by atlassubbed on Thursday November 22, 2018 @05:34PM (#18512994)
I don't think any of my concerns were addressed. If I index a <p@key1/> and its position changes in the child list, will the diff move the node (e.g. insertBefore) as opposed to unmounting/remounting it? Also, have you tested the performance of a Fisher-Yates shuffle on a list like [<p@key_i>]? I'm curious if that is faster than React. There are some cases where you'd want many list elements moving around.