lark 0.1.0
lark: ^0.1.0 copied to clipboard
A light, elegant Dart web framework with file-based routing, reactive state, and SSR/SSG support.
Changelog #
All notable changes to this package are documented here.
0.1.0 #
Initial public release of the unified lark package.
Added #
- Core component model with lifecycle hooks (
build,onMount,onUnmount) - Fine-grained reactivity:
ref,computed,effect,batch,untrack
- Store system:
defineStore,clearStore,clearAllStores
- Router system:
RouteCollection,route(...), dynamic params (:id), wildcards (*)useRouter,useRoute,useParams,useQueryParamsRouterLink,RouterOutlet,RouterComponent
- File-based route/content code generation via CLI helpers
- UI primitives/components including layout, forms, media, feedback, dialogs, cards, and icons
- Composables:
- fetch/mutation (
useFetch,useLazyFetch,usePost) - pagination/async (
usePagination,useInfiniteScroll,useAsync,usePolling) - state/storage (
useToggle,useDebounce,useThrottle,usePrevious,useLocalStorage,useSessionStorage,useCookie,useDarkMode) - query cache (
useQuery,useMutation,useLazyQuery,queryClient)
- fetch/mutation (
- SEO/head APIs:
useMeta,useSeo,useHead, typed head entries
- SSR runtime:
renderToHtml, request-scoped router/head/data collection, state serialization
- Rendering helpers:
renderToString,renderPage, hydration APIs
- CLI commands:
create,dev,build,start,serve,generate,codegen,doctor,clean,tailwind setup
- Build pipeline support for:
- static output + route pre-rendering
- SSR server template + binary compilation
- JS/WASM web compilation modes