![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.
a jsx compatible shorthand library for generating actual dom elements instead of virtual ones
This is useful, because it lets you create dom elements in a readable way and get references to the dom elements that you want to modify.
npm install bdom
const dom = require('bdom')
const { H1, text, Figcaption, style } = dom // capital elements attributes and text lower case
const txt = text('BAR')
const title =
H1(
txt,
Figcaption( style('background-color: orange; font-size:0.5rem;'), 'a friend of foo' )
)
let secs = 0
const intervalRef = setInterval(() => {
txt.nodeValue = 'BAR-' + (secs += 1)
}, 1000)
document.findElementsByTagName('body')[0].appendChild(title)
...and the same by replacing React and in jsx
const dom = require('bdom')
const { text } = dom
const React = dom
const txt = text('BAR')
const title =
<h1>
{txt}
<figcaption style="background-color: orange; font-size:0.5rem;">a friend of foo</figcaption>
</h1>
let secs = 0
const intervalRef = setInterval(() => {
txt.nodeValue = 'BAR-' + (secs += 1)
}, 1000)
document.findElementsByTagName('body')[0].appendChild(title)
npm test
npm run build
FAQs
a jsx compatible shorthand library for generating actual dom elements instead of virtual ones
The npm package bdom receives a total of 2 weekly downloads. As such, bdom popularity was classified as not popular.
We found that bdom 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
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.