Closed carson-katri closed 2 years ago
I'd prefer this interface:
static let _configuration: _AppConfiguration = .init(
useReconciler: .fiber,
shouldLayout: true
)
I updated it to this:
static let _configuration: _AppConfiguration = .init(
reconciler: .fiber(shouldLayout: true)
)
Reconciler options are:
.stack
.fiber()
.fiber(shouldLayout: true)
You can also pass the root environment in the configuration. Let me know what you think.
App
should now properly handle @State
.
This PR enables support for
App
+Scene
in the Fiber reconciler, and provides a way for apps to specify whether they want to use theFiberReconciler
, and if they want to enable custom layout.