Meemaw is a React component library providing declarative utility components for common UI patterns like conditional rendering, iteration, and time-based display. Version 1.0.2 is the current stable release. The library is lightweight (<10KB), tree-shakeable, and has zero runtime dependencies beyond React 16.8+. It ships TypeScript definitions and offers SSR compatibility. Unlike larger UI kits, Meemaw focuses purely on reducing repetitive JSX patterns with components like <Show>, <Switch>/<Case>/<Default>, and <Repeat>.
npm install meemawNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates usage of Show, Switch/Case/Default, Repeat, Hidden, Loadable, Delayed, and ShowOnce components with TypeScript.
Use only `when` or `if`, not both.
Switch to ES module imports: `import { Show } from 'meemaw'`Wrap error strings in an Error object: `error={new Error('message')}`Provide a unique `key` prop explicitly (e.g., using index) when iterating primitives.
For SSR-specific hiding, use conditional logic with `useEffect` or framework utilities.
Ensure numeric values are actual numbers: `till={3000}` not `till="3000"`Run `npm install meemaw --save` or ensure package is in node_modules.
Use `import { Show } from 'meemaw'` instead of `import Show from 'meemaw'`.Ensure `when` prop is a boolean: `<Show when={someBoolean}>`.Add a key prop inside the render callback: `<Repeat each={items}>{(item, index) => <div key={index}>{item}</div>}</Repeat>`