New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

plack

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plack

The 2 kB Javascript Framework for Modern Web Applications

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

plack

The 2 kB Javascript Framework for Modern Web Applications

GitHub Workflow npm bundle size npm NPM codecov

Motivations

I always wondered if we can get a working solution for modern React API with minimal footprint. I was using Preact in some of my projects, which combined with hooks clocked at about 5 kB. In many of these projects, I was hardly reaching out to preact-compat. At this point, I started wondering if we can achieve < 5 kB if we forgo some react compatibility. plack is an attempt to get a working solution using just JSX, Functional Components and Hooks under 2 kB.

What's Included?

  • JSX and Functional Components
  • Client Side Hydration
  • Hooks (useState, useReducer, useMemo, useRef, useCallback)

What's Coming?

  • use{Effect,LayoutEffect} Hooks
  • useContext Hook
  • Server Side Rendering

License

plack is licensed under the MIT License.

Documentation is licensed under Creative Common License.

Created with ❤️ by @osdevisnot and all contributors.

Keywords

plack

FAQs

Package last updated on 16 Aug 2021

Did you know?

Socket

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.

Install

Related posts