Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
react-losen
Advanced tools
A brutallty simple wizard for React and React Native.
Note: This module works, but we got some nice changes coming out soon:
yarn add react-losen
import { Wizard, Step, Controls } from 'react-losen';
<Wizard
render={() => (
<Fragment>
<Step name="start">Step one</Step>
<Step name="second-step">This is the second step</Step>
<Step name="final-step">Click next to finish</Step>
<Controls
render={(onNext, onPrevious, isFirstStep) => (
<Fragment>
<Button onClick={onPrevious} disabled={isFirstStep}>
Previous
</Button>
<Button onClick={onNext}>Next</Button>
</Fragment>
)}
/>
</Fragment>
)}
/>;
react-losen
is built with React and it's Context API under the hood. We use render props to expose functionality to child components.
Use docz:dev
to spin up a dev server which let's you view and play with the source components. To get started, create a .md
in the ./pages
directory. It uses MDX which let's you import and write
JSX within markdown documents. For more info out the Docz website and read up on the MDX spec.
yarn build
This command uses @pika/pack
to build for browsers. Plugins are specified under @pika/pack
in package.json
.
Publish new versions with yarn pack:publish
. Pika guides you through the Through a wizard, this helps you bump the version number and publish to npm.
The documentation is built by running yarn docz:build
. This generates a static site in ./docs/
. Currently the site is deployed and hosted with Zeit's Now.
react-losen use SemVer for versioning. For the versions available, see the link to tags on this repository.
TODO: Add jest.
At react-losen, we use the following tools:
Wizard
, the main orchestrator. It has 2 required props
Step
as children. Minumum 2. Start and endStep
, a wrapper for what you want to show as a step. It registers the step on mount to the Wizard contextControls
, the controller for which step to show next. Has 2 directions: next and previous. It also knows if you are on the last or first step.FAQs
A super customisable Wizard for React and React Native
The npm package react-losen receives a total of 1 weekly downloads. As such, react-losen popularity was classified as not popular.
We found that react-losen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.