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

react-manatea

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-manatea

## TL;DR <!-- omit in toc -->

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

React-Manatea

TL;DR

Bindings of manatea for React

Table of Contents

infuse

import React from 'react';
import { orderCup } from 'manatea';
import { infuse } from 'react-manatea';

// Defining a cup
const timer = orderCup(0);

const Timer = infuse(timer)(({ tea: time }) => <div>Time: {time}</div>);

Infuser

import React from 'react';
import { orderCup } from 'manatea';
import { Infuser } from 'react-manatea';

// Defining a cup
const timer = orderCup(0);

const Timer = () => (
  <Infuser cup={timer}>{({ tea: time }) => <div>Time: {time}</div>}</Infuser>
);

useInfuser

import React, { useInfuser } from 'react';
import { orderCup } from 'manatea';
import { useInfuser } from 'react-manatea';

// Defining a cup
const timer = orderCup(0);

const Timer = () => {
  const [time, setTime] = useInfuser(timer);
  return <div>Time: {time}</div>;
};

FAQs

Package last updated on 26 Jul 2025

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