![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@stencila/components
Advanced tools
@stencila/components
Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
Web Component tags may not be CamelCased and they must include a hyphen (-
) in the name.
Please follow the pattern of <stencila-(component-type)>
, for example <stencila-tab-list>
.
There are two ways to load these components into your project, a script
tag in an HTML file, or as a Node module.
<script type="module" src="https://unpkg.com/@stencila/components@latest/dist/stencila-components/stencila-components.esm.js"></script>
<script type="text/javascript" nomodule="true" src="https://unpkg.com/@stencila/components@latest/dist/stencila-components/stencila-components.js"></script>
In modern browsers supporting the module
attribute, only the components used on the page will be requested and lazy-loaded, keeping the page size low.
npm install @stencila/components --save
import '@stencila/components'
The best reference for how to use and combine these components is our component library.
The source code for the stories is written using simple lit-html
syntax and can be found here.
For general overview of working with WebComponents using plain JavaScript, the StencilJS website provides a good introduction.
Please visit the StencilJS documentation for up to date documentation.
FAQs
Stencila Web Components
The npm package @stencila/components receives a total of 259 weekly downloads. As such, @stencila/components popularity was classified as not popular.
We found that @stencila/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.