-
if_else_if_else
syntactic sugar- basic
- nested
- router
- configuration
- code
-
nav_to!
macro -
nav_back!
macro - component inherits
-
- add lifecycle
-
#[before_update]
macro -
#[update]
macro
-
- self-close tag for component in
<template></template>
- Allow single_script strategies to use genui api
- automatic id strategy (see
utils::Ulid
), all components will automatically generate id - the define page automatically add getter and setter from
GView
component - add redraw if callback events need
- adjust the getter|setter so that both the original object and the ref have two-way binding adjustment
- genui
- builtin
- use
Result<(), Box<std::error::Error>>
as setter's return value - replace
use gen_component::*;
touse gen_components::{themes::*, utils::*, *};
- add Default trait for Deref Prop struct
- computed:
#[computed([args...])]
for powerful value bind
- if the regular method uses (self), you need to add cx as a regular parameter
See: v0.1.2 Tests
- Analyzer
- Value
- Enum: parse_template can not parse standard string type
- Bind:
ident()
output wrong bind ident
- multi err_from_to
- Util
- git download function
- Value
- Add builtin components
- popup
- popup_container
- dialog
- drawer
- tool_tip
- drop_down
- tag
- loading
- collapse
- toggle
- Optimize builtin components
- image:
src
can usebase64
,local_file
,url
- radio: animation, lifecycle
- checkbox: animation, lifecycle
- image:
- combine
gen_parser
withgen_converter
asgen_analyzer
gen_analyzer
- remove one convert layer (from 640.625µs(avg) -> 200.132µs)
- reduce the number of repeated traversals
- early static analysis
rssyin
- visitor_chain -> define analyzer use
ra_ap_syntax
- add new
ScriptBridger
- visitor_chain -> define analyzer use
- remove
gen_mk_script_objs
- new rust script syntax
- add
#[component]
- use
#[prop]
on prop struct - replace lifecycle
#[before_create]
to#[before_mount]
- add
#[mounted]
- replace
default_prop!
toimpl Default trait
(just like usual rust) - impl
#[component]
struct
- add
See ract CHANGELOG