This new release is the result of a month of work strengthening or removing weak links in the Bemtv API, as well as new features that have been built upon the design choices made for Bemtv so far.
Initially Bemtv had an API that allowed “props” similar to other frameworks, this decision was made to bring familiarity, but Bemtv has design choices that make it unique and therefore deserves a more powerful solution that fits with everything that she can offer.
I am pleased to introduce Bemtv's new feature: “component proxies”.
API changes:
-
useEl()
method has been deprecated and replaced with :useElManager()
,useFirstElManager()
andcreateElManager()
. -
.it
property has been deprecated and replaced with :.el
. -
autoImportComponents()
function has been deprecated and replaced with :lazy()
. -
match()
function has been deprecated and replaced with :Suspense special syntax
. -
share()
,use()
andreshare()
methods has been deprecated and replaced with :state functions
. -
Functional components
has been replaced with :onInst() - Functional components
. -
.css()
methods has been updated:.css() methods
. -
proxy()
,proxyFrom()
,useRouteControl()
andrun()
has been added! -
defineProps()
,$.props
,props()
andchildren()
has been deprecated.
These changes made the Bemtv API more solid. From now on, I intend to make this API stable and continue to improve Bemtv's performance and its documentation.