-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Thinking out loud, mostly personal notes and wishes. May edit to link/add references.
- non-destructive renderer #388 /cc @mdynnl
- handle moving nodes #382
- maybe compile
Dynamichttps://hackmd.io/@0u1u3zEAQAO0iYWVAStEvw/B1wJbD9Ogx - Merge more sibling templates #458
- special case value, selected, checked, muted, etc or maybe use controlled inputs to opt-in into "special case" https://discord.com/channels/722131463138705510/817960620736380928/1434951587012415582
- may add an attribute validator for dev mode
- maybe connected={[fn1, fn2]} as a replacement for onMount
-
removeand make ofuse:ref={[fn1, fn2]}an array,remove magic refshttps://discord.com/channels/722131463138705510/1435384712443990096 [next]refaccepts arrays #475 - somehow spreads in elements and also duplicated attributes should be merged. target solid v2. [next] deopt spreads in DOM #472
- need to use
evaluate.confidentmore (inline style example) Inline styles corrupted when using clamp() solidjs/solid#2540 done in Inline in template value instyleobjects usingevaluate().confident#461 -
data-hkattribute in markup should prevent compilation Warn whendata-hkattribute is present on a template #459 - Invalid double escaping of nested arrays in SSR #393 avoid double escaping array in ssr, fixes #393 #444
- crazy idea
/* @once */can maybe be compiled to a wrappinguntrack, so no more issues with objects, etc Fix edge cases for/* @once */static marker #438 - search for TODO in source code and deal with it - an
onclickmessing test cases comes to mind remove condition that changed too many tests #443 - inline/merge more stuff, we are incredible performant, but there may be some situation on which we can do better. Example, may no need for this
setPropertyhttps://playground.solidjs.com/anonymous/45cac790-de70-469e-aa76-db6336b874d1 https://discord.com/channels/722131463138705510/1023298332338167919/1377604763495039046 inline style when is an object of string/numeric values #441 - do not inline properties even if the value is a string
- make result smaller by importing helpers, instead of
node.style.setProperty(may usesetStyleProperty(node..)Make "style set property" code smaller #440 -
bool:andattr:could be removed. We already default to attributes and by default we also add/remove attributes based onbooleanvalue. next: Default to attributes #422 - validator of tags should be lowercased,
foreignObjectgets lowercased for whatever reason ignore case when validating tag nesting #428 -
do not use properties without prefix- except forprop:valueand friends this can be considered done
discarded/non-issue/carried by someone else:
-
delegated events do node retargeting- this is expected for delegated events, we have native events so shouldn't be an issue. -
event handlers are not batched- solid v2 doesn't suffer from this problem and changing this in solid v1 would be a breaking change -
WIP- WIP: tagged template literals runtime based on pota.quack.uy #448 - Not sure if It's going to make it to Solid 2.x, but one can dream, implement potahtmlfunction as aksolid-htmlpackage. We havelit-dom-expressionsbut it's a very weird syntax and has some/lots of issues. potahtmlfunction is inspired by Solid, It's pretty much JSX in an XML string (not weird lit-html stuff) behind the scenes useshbut we can make it performant, see https://github.com/potahtml/pota/blob/master/src/core/xml.js , for example this https://pota.quack.uy/playground#H4sIAHDMUmgAA2VQ22rDMAz9FS0UkoyuYd1bSfqyy9vYB8yDlVglZo5kbLMVQv59cpqWlurFwueiI2Wmd+wjDOCRNHoYYe+5h9xx3OWKzvCht1dYJR+CK5J3pXFvCIsBIoa4gaKEZgt5h9Yy/LG3+i6Hsbxhv3y8vx6cxxAMU9iA8+xCkk7NKppocda1QoiTPTQpy7eiWpvfrSKQqq+dYFI2KntmiU9Ikkll1YmcdJr7B7xQeG5/Ql0lCGbaG3vAXduJz2L4fFzCeglPX6PKZp9Ui6HtjNVyuxT73N/DepxdKrE5DU7xq+R/HKRItlB0PHyRwDL7B5nCtW2QAQAA /cc @trusktr -
prevent directives from being treeshaked, or maybe move the function to the arrayThe issue seemed to be just eslint. eslint-plugin-solid fixes it. - [main] adds
ref:namespace #445 https://discord.com/channels/722131463138705510/1435384712443990096
If there is anything you want/wish for Solid 2, I would like to hear it, so please feel free to comment, we may influence. Keep in mind I'm a collaborator and decisions are not on me.
katywings and kachurun
Metadata
Metadata
Assignees
Labels
No labels