![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.
ribcage-preview
Advanced tools
Run a preview server with live reloading for a ribcage component
npm install -g ribcage-preview
ribcage-preview <dir>
<dir>
should be the directory of the component you want to preview.
Create an example
folder in your <dir>
with an entry.js
and an entry.css
and optionally an entry.html
and data.js
files.
.jsx
files are also recognized. If the index file is .jsx
, client-side JS will be off by default unless you pass a s
or --client-jsx
flag. The index.jsx
file is always rendered by the server and the results appended to <div id=app>
. Your example/entry.jsx
should render into the same div
.
no-debug
You can disable sourcemaps with --no-debug
client-jsx
or s
If the entry file is .jsx
, client-side js will not be served unless this flag is passed.
react-router
or r
If passed, the index file should pass a routes object for react-router instead of a component. This turns on spaMode
so that both the server and the client render the same routes.
open http://localhost:4001/default
This URL with livereload on every file change, and load in the compiled entry.js
and entry.css
.
If you have an example/entry.jsx
file, it's rendered on the client for you. If you want to provide data to this client on the server, put in a example/data.json
or example/data.js
. This object will get passed as props to the react component by the server. You're responsible for passing this object to your component on the client.
FAQs
Run a preview server for a ribcage component
The npm package ribcage-preview receives a total of 0 weekly downloads. As such, ribcage-preview popularity was classified as not popular.
We found that ribcage-preview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.