Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.0 #17

Merged
merged 160 commits into from
Nov 30, 2024
Merged

Release 1.0.0 #17

merged 160 commits into from
Nov 30, 2024

Conversation

ECorreia45
Copy link
Contributor

@ECorreia45 ECorreia45 commented May 31, 2024

✅ auto detect state usage and automatically handle template
✅ introduce effect to perform side-effects
✅ state only broadcasts when values change
✅ state updates are batched
✅ support for object attribute <button ${attrs} >...</button> which allows for dynamic attribute setting
✅ deprecates helper and Helper
✅ deprecates attr prefix and dotted attributes, e.g: class.active="...", style.primary="..." as now these can dynamically be set with injected function values
✅ effect to support a return value of any type for tracking
✅ optimize render and DOM elements creation where needed
✅ deprecates onDestroy. it can be provided as the return value of onMount
✅ introduces onMove to actions for when the template is moved
✅ calling lifecycles multiple times will no longer keep all callback function. only the last one will be used
✅ improves performance and internal logic with cached templates, easy cleanups, badged state updates
✅ changes event listeners from <div onclick="${fn}, ${opt}" /> to <div onclick="${[fn, opt]}" />
✅ changes nodes to childNodes
✅ introduces parentNode property
✅ introduces insertAfter as a way to render the template
✅ create docs website from .md files
✅ extend repeat to accept Set, Map, and object literals
✅ update builder to use @bfs/builder
✅ imrpove@bfs/WebComponent and @bfs/router packages with new Markup

Copy link

codesandbox bot commented May 31, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@ECorreia45 ECorreia45 linked an issue May 31, 2024 that may be closed by this pull request
Copy link

netlify bot commented May 31, 2024

Deploy Preview for bfs-markup ready!

Name Link
🔨 Latest commit 613830e
🔍 Latest deploy log https://app.netlify.com/sites/bfs-markup/deploys/674b9807de422900087f7086
😎 Deploy Preview https://deploy-preview-17--bfs-markup.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ECorreia45 ECorreia45 merged commit baa45ff into main Nov 30, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto detect state | deprecate helper
1 participant