Skip to content

v0.19

Choose a tag to compare

@Patrolin Patrolin released this 28 Mar 20:26
· 55 commits to master since this release
  • added tabs() component
  • allowed creating components inside lambda functions () => span("hello")
  • deleted router()
  • added router() that works with "/path/:param1/:param2"
  • added routeParams: Record<string, string> as first argument to route components
  • added makePath(parts: string | PathParts) utility
  • removed let {...} = Component.useNavigate();
  • added navigate(string | PathParts, navType: NavType)
  • added word-break: break-word to textarea() (fixes firefox bug)
  • rewrote build system into Odin
    • typescript enum NavType {Add = "Add", Replace = "Replace"}; now gets compiled to
      javascript const NavType = {Add: "Add", Replace: "Replace"}