
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@ifaxity/fx
Advanced tools
The result is this, a lit-html powered custom element with a Vue like syntax and reactivity system. All written in Typescript to have the useful typehints in an editor like VSCode.
As this is a WIP and just my hobby project its not ready for serious use yet. Mostly because there is still not a lot of users using a web components ready browser version (~70%).
A lot is going to change in the package so don't expect code to work when you update. More packages for this coming soon like a router and maybe a Flux like store.
To install just use your preferred package manager, like npm:
npm install @ifaxity/fx --save
To use the module just import it like this:
import Fx from '@ifaxity/fx';
And then you can then use the module like this:
import Fx from '@ifaxity/fx';
// Define a element like this
// The tagname is important the element will only render when the browser sees this tagname
Fx.define('hello-world', {
props: {
name: {
type: String,
default: 'World',
},
},
render(html) {
return html`
<h1>Hello ${this.name}!</h1>
`;
},
});
// Then it will automatically be rendered in the browser when it detects the tagname.
FAQs
Custom Element with Vue.js like syntax & features
The npm package @ifaxity/fx receives a total of 0 weekly downloads. As such, @ifaxity/fx popularity was classified as not popular.
We found that @ifaxity/fx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.