Repository navigation
Releases: BlueFrog130/composure-js
Release list
composurejs@0.2.0
Minor Changes
-
#21
11678d0Thanks @BlueFrog130! - The placement check follows function components: a tag passed to one is checked against the parent it puts its children in (<Button> cannot go inside <Container> (in <ui.Primary>)), and what one renders against where it is placed ((rendered by <Card>)). Function components are followed in the module and through relative imports and re-exports;checkPlacementtakes{ file, load }for the latter. The lint rule reads imported modules from disk (@composurejs/eslint-pluginnow depends onoxc-parser), andvite devre-checks a module when one it followed changes. -
#21
aaacd5eThanks @BlueFrog130! - A local function is now an Inline Handler:const add = (c) => ..(orfunction add(c) {..}) in a component, named byonClick/onSelect/onSubmit, is hoisted with what it captures and stays callable. A hoisted handler that reads a function declared inside a function is now a compile error naming it, instead of failing at render.
@composurejs/vite@0.2.0
Minor Changes
-
#21
11678d0Thanks @BlueFrog130! - The placement check follows function components: a tag passed to one is checked against the parent it puts its children in (<Button> cannot go inside <Container> (in <ui.Primary>)), and what one renders against where it is placed ((rendered by <Card>)). Function components are followed in the module and through relative imports and re-exports;checkPlacementtakes{ file, load }for the latter. The lint rule reads imported modules from disk (@composurejs/eslint-pluginnow depends onoxc-parser), andvite devre-checks a module when one it followed changes. -
#21
aaacd5eThanks @BlueFrog130! - A local function is now an Inline Handler:const add = (c) => ..(orfunction add(c) {..}) in a component, named byonClick/onSelect/onSubmit, is hoisted with what it captures and stays callable. A hoisted handler that reads a function declared inside a function is now a compile error naming it, instead of failing at render.
Patch Changes
- #21
c64948aThanks @BlueFrog130! -composure()names composurejs as the dep scanner's JSX runtime: a.tsxmodule withimport.meta.globno longer failsvite dev's dependency scan onreact/jsx-dev-runtime. - Updated dependencies [
11678d0,aaacd5e]:- composurejs@0.2.0
@composurejs/eslint-plugin@0.2.0
Minor Changes
- #21
11678d0Thanks @BlueFrog130! - The placement check follows function components: a tag passed to one is checked against the parent it puts its children in (<Button> cannot go inside <Container> (in <ui.Primary>)), and what one renders against where it is placed ((rendered by <Card>)). Function components are followed in the module and through relative imports and re-exports;checkPlacementtakes{ file, load }for the latter. The lint rule reads imported modules from disk (@composurejs/eslint-pluginnow depends onoxc-parser), andvite devre-checks a module when one it followed changes.
Patch Changes
@composurejs/cli@0.1.4
create-composurejs@0.1.3
Patch Changes
- #19
660677aThanks @BlueFrog130! - Link the Discord server from the README.
create-composurejs@0.1.2
Patch Changes
- #17
46501ebThanks @BlueFrog130! - Add the logo to the README.
composurejs@0.1.3
Patch Changes
- #19
660677aThanks @BlueFrog130! - Link the Discord server from the README.
composurejs@0.1.2
Patch Changes
- #17
46501ebThanks @BlueFrog130! - Add the logo to the README.
@composurejs/vite@0.1.3
Patch Changes
- #19
660677aThanks @BlueFrog130! - Link the Discord server from the README. - Updated dependencies [
660677a]:- composurejs@0.1.3
@composurejs/vite@0.1.2
Patch Changes
- #17
46501ebThanks @BlueFrog130! - Add the logo to the README. - Updated dependencies [
46501eb]:- composurejs@0.1.2