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 🙏

© 2024 – Pkg Stats / Ryan Hefner

stb-key

v0.0.1-beta

Published

KeyCode for STB

Downloads

33

Readme

Preact

Virtual DOM 组件的所有功能:

  • 熟悉的 React API 和模式:ES6 类和功能组件
  • 通过简单的 preact-compat 别名实现广泛的 React 兼容性
  • 你需要的一切:JSX,VDOM,React DevTools,HMR,SSR ..
  • 高度优化的差异算法和无缝的服务器端渲染
  • 使用可插拔调度程序的透明异步呈现

技术支持:

💁 Preact 网站上的 Preact Website ➞

Preact 会调用以下生命周期方法:

| 生命周期方法 | 当它被调用时 | | --------------------------- | ------------------------------------ | | componentWillMount | 在组件挂载到 DOM 之前 | | componentDidMount | 在组件被挂载到 DOM 之后 | | componentWillUnmount | 在从 DOM 中删除之前 | | componentWillReceiveProps | 在新道具被接受之前 | | shouldComponentUpdate | 在render()之前返回 false跳过渲染 | | componentWillUpdate | render() 之前 | | componentDidUpdate | render() 之后 |

更新日志

  • ✅ 扩展 JSX tag 属性,取值 "focus"
  • ✅ 扩展 tags 属性
  • ✅ 扩展组件 identCode 属性
  • ✅ 扩展组件 event 对象
  • ✅ 扩展组件 index 属性
  • ✅ 扩展组件 subscribeToEvents 事件
  • ✅ 扩展组件 componentFocusDidUpdate 事件
  • ✅ 扩展组件 setIndex 方法
  • ✅ 扩展组件 setFocus 方法
  • ✅ 扩展组件 onfocus 事件
  • ✅ 扩展组件 onblur 事件
  • ✅ 扩展组件 onkeydown 事件
  • ✅ 扩展组件 target 事件
  • ✅ 扩展组件 trigger 事件
  • ✅ 扩展组件 IFocusProps 属性接口

Sponsors

支持我们,并帮助我们继续我们的活动。