0.3.0 #1079
0.3.0
#1079
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New:
'app.cash.redwood.generator.testing' plugin to generate a lambda-accepting entrypoint function
(such as
ExampleTester()
). Inside the lambda you can await snapshots of the values whichwould be bound to the UI widgets at that time.
Spacer
which can be used to create negative space separatelyfrom padding (which otherwise disappears when the item disappears).
HostConfiguration
. Note that these are globalvalues which should only be applied when a view is known to be occupying the full window size.
changes are also required for recomposition to occur.
Changes:
than before. Previously widget was created, attached to its parent, and then its properties were
all set followed by any language modifiers. Now, the widget is created, all of its properties and
layout modifiers are set, and then it is added to its parent. Additionally, widgets are added to
their parents in a bottom-up manner. Code like
Row { Column { Text } }
will seeText
be addedto
Column
beforeColumn
is added to `Row.more cleanly delineate where each is used. "Host" is the native application and "guess" is code
running inside the Zipline JS VM.
is loaded from the classpath which contains the parsed structure of the dependency. As a result,
the module which contains the schema files must apply the 'app.cash.redwood.schema' plugin in
order to create this JSON.
Padding
type is now calledMargin
.@ObjCName
to create better-looking APIs in Objective-C (and Swift).@Deprecated
annotation on a widget or its properties will now propagate into the generatedComposable and widget interface.
Fixed:
Constraint
s are now correctly propagated into HTML.This version only works with Kotlin 1.8.20.
This discussion was created from the release 0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions