Results 217 comments of Max Desiatov

Thanks to [the amazing tracing profile demangler](https://observablehq.com/d/1ab06632b2f63dc3) by @j-f1 I've got some data here. It makes me think that caching type metadata could lead to some improvements (oh I wish...

Maybe using loops instead of recursion in the reconciler/MountedElements code would reduce our stack memory consumption? That's the first thing I'd try first, if anyone is interested in picking it...

One workaround in the meantime could be setting the stack size explicitly to something large enough in `Package.swift`, as described here https://github.com/TokamakUI/Tokamak/issues/367#issuecomment-829229300

Great find with the workaround! Please feel free to submit a PR. Even if it fixes only a subset of cases, it's still worth merging I think.

Interesting connection I see here is that the `domAttributes` modifier discussed in #231 would essentially require this collapse/merge logic to work, so maybe it would be best to start with...

Maybe we could try something similar to operator fusion in Combine: https://jasdev.me/fusion-primer

Would it make more sense to make it look like iPad and macOS apps by default? At least on wide screens.

No, we do not support `UserInterfaceSizeClass` yet (see #152), but it should be relatively easy to add to make `List` and `NavigationView` adjust based on the current size class.

@shial4 thanks for reporting the issue! Could you provide a code snippet for reproduction?

No pressure at all, whenever is more convenient for you! Good luck with the move 🙂