
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.
react-losen
Advanced tools
A brutallty simple wizard for React and React Native.
Note: This module is currently in beta. First official release is right around the corner, and will include some nice changes:
Please submit issues/feedback on GitHub ✌️
yarn add react-losen
import { Wizard, Step, Controls } from 'react-losen';
<Wizard
render={() => (
<>
<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) => (
<>
<Button onClick={onPrevious} disabled={isFirstStep}>
Previous
</Button>
<Button onClick={onNext}>Next</Button>
</>
)}
/>
</>
)}
/>;
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 yarn 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 run build
This command uses @pika/pack
to build for browsers. Plugins are specified under @pika/pack
in package.json
.
Publish new versions with yarn run publish
. Pack
guides you through the Through a wizard, this helps you bump the version number and publish to npm. Note: It's importaint to use the run
argument, as yarn publish
is a built in command and won't use Pack
The documentation is built by running yarn docs:build
. This generates a static site in ./docs/
. Currently the site is deployed and hosted with Zeit's Now.
Todo: Add information on how to deploy docs with Now.
react-losen use SemVer for versioning. For the versions available, see the link to tags on this repository.
Testing is done using the Jest test
framework. Assertions is done with Jest's Expect
matchers.
Todo: Add CI.
For code quality, react-losen use the following tools:
See documentation
FAQs
A super customisable Wizard for React and React Native
The npm package react-losen receives a total of 5 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
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.