Download Latest Version 0.11.1 source code.tar.gz (711.1 kB)
Email in envelope

Get an email when there's a new version of Tokamak

Home / 0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
0.11.0 source code.tar.gz 2022-09-02 711.1 kB
0.11.0 source code.zip 2022-09-02 1.1 MB
README.md 2022-09-02 4.0 kB
Totals: 3 Items   1.8 MB 0

This release adds support for SwiftWasm 5.7. It also includes a new reconciler modeled after React's Fiber reconciler. It can provide faster updates and allow for larger View hierarchies. It also includes layout steps that can match SwiftUI layouts closer than CSS approximations.

You can specify which reconciler to use in your App's configuration:

:::swift
struct CounterApp: App {
  static let _configuration: _AppConfiguration = .init(
    // Specify `useDynamicLayout` to enable the layout steps in place of CSS approximations.
    reconciler: .fiber(useDynamicLayout: true)
  )

  var body: some Scene {
    WindowGroup("Counter Demo") {
      Counter(count: 5, limit: 15)
    }
  }
}

What's Changed

New Contributors

Full Changelog: https://github.com/TokamakUI/Tokamak/compare/0.10.1...0.11.0

Source: README.md, updated 2022-09-02