npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vertiscape/teleporter

v1.0.23

Published

Teleports your components to anywhere, because you absolutely can!

Readme

Teleporter

Teleport your components to any destination with strict mode and hot reload supported (to some extent), inspired by tunnel-rat.

Installation

yarn add @vertiscape/teleporter
npm i @vertiscape/teleporter

[!NOTE] For npm on React 19, --force argument must be added.

@hookstate/core can in fact run on React ^19.0.0 just fine, but the upstream package does not update peerDependencies.

Usage

I didn't manage to get it to auto-import, so, manually it is :)

import Teleporter from '@vertiscape/teleporter';

Use Teleporter.In to put your test subjects inside the chamber, remember to give it a name, we'll use it for later:

<Teleporter.In name="overworld">
  <p>who are you?</p>
  <p>I. AM STEVE</p>
</Teleporter.In>

Find your destination, and RELEASE:

<Teleporter.Out name="overworld" />

Multiple test subjects from different regions, you must assign them key to let React know which one is which, treat 'em just like a list:

<Teleporter.In name="overworld">
  <p key="who">who are you?</p>
  <p key="I">I. AM STEVE</p>
</Teleporter.In>

<Teleporter.In name="overworld">
  <p key="flint">FLINT AND STEEL</p>
  <p key="nether">THE NETHER</p>
</Teleporter.In>

P/S: @hookstate/core's nested state really good frfr no cap, I only needed to declare one single store for the whole package, and it handles the rest, name in the top level of the state's object, values can act as a state itself; rerender only when it's modified, no rerender when other name fields modify, peak, idk why people didn't use it as many as it deserves.

Why not tunnel-rat?

This package is purely made just to deal with React.StrictMode. While using tunnel-rat, I've ran into issues related to React.StrictMode being itself, especially when the component is mounted conditionally after tunneled, React.StrictMode messed with the object's lifecycle, causing it to be in a "limbo" state, even though it appears on React nodes tree, only some of the effect in scene work.

The only fix I can come up with is to "cheese" strict mode, when cleaning up effect, teleporter won't immediately remove those components, it instead slaps a null.

Only when the Teleporter.In actually disposes, then we can go ahead and clean everything up.