Carson Katri

Results 219 comments of Carson Katri

So it'd be like this?: ```swift struct MyApp : App { var body: some Scene { HTMLHead { HTML("meta", [...]) } WindowGroup("MyApp") { ContentView() } } } ``` If so,...

We have it, it's the String/Text argument passed to the WindowGroup initializer: `WindowGroup("My Site Title") { ... }` (At least that's how we set the title now)

Ah, ok. So in SwiftUI I think the only way to do it before macOS 11 was via the AppDelegate. So using the `HTMLHead` would probably be best in that...

I'd probably provide a `Binding` to the `activeRoute` not a title string. The title string could then be made via a switch statement.

I'll open an issue in the repo.

Yeah, it has pretty much all of the CSS properties input as enumerations. Here's the relevant discussion: https://github.com/swiftwasm/Tokamak/pull/114#issuecomment-650790894

I've got an inspector Chrome extension partially working. It builds a `Set` of the `MountedViews` (and some related data), then encodes it to JSON and passes it to the extension....

I’ve actually experimented with static rendering and got something up and working fairly quickly. I can make a PR if that’d be of interest...

I actually have an *almost* working type-safe Router package. I'm still working on the SwiftUI implementation, and then it should be able to support Tokamak after that (although it relies...

That's seems like a good idea.