Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
solid-pwa-navigation
Advanced tools
A library that brings App-like navigation to PWAs and Web Apps
A library that brings App-like navigation to PWAs and Web Apps.
This package provides routers that emulate Tab and Stack navigation behaviors.
npm install solid-pwa-navigation
<TabRouter />
is designed to handle navigation between pages that are always mounted. <StackRouter />
is designed to mimic a
stack of cards, each new page is put on top of the others and going back removes (and destroys) that page.
You can combine them to obtain the classic app experience with a bottom drawer containing the main tabs and each tab having a dedicated stack of pages.
To improve compatibility with modern mobile devices that have notches and other screen-obstructing elements, this library exports
a couple of utility components and objects that provide padding for the so-called "safe area", namely <SafeAreaScreen>
and safeAreaPaddingStyles
. This, together with viewport-fit=cover
in the viewport meta-tag, will allow you to emulate the app experience as close as possible. You consult the demo for a fully configured example.
FAQs
A library that brings App-like navigation to PWAs and Web Apps
We found that solid-pwa-navigation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.