What is the logic for the generatino of hyd. keys eg 0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-1-0-0-0-0-0-0-0-2

So that we can debug hydration errors to some extent
1 Reply
jer3m01
jer3m015mo ago
This is the old system used for ids, each number is the position of the node in the tree, separated by -. If you update solid to latest the new ids look like 001a1020b104, same meaning (every number is the position in the tree) but this time there's no separator and multidigit numbers start by a letter for their lenght (a = 2 digits, b = 3, ...) Longer explanation of the new system here (but we ended up using letters instead of special characters for css compatibility) https://discord.com/channels/722131463138705510/817960620736380928/1220769886242996354
Want results from more Discord servers?
Add your server