Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benfoxall/memeoisation

It's like useMemo, but not at all.
https://github.com/benfoxall/memeoisation

Last synced: 16 days ago
JSON representation

It's like useMemo, but not at all.

Awesome Lists containing this project

README

        

# Memeoisation

## useMeme

```js
import React from 'react';
import { useMeme } from 'memeoisation';

export default function App() {
const { alt, src } = useMeme();

return {alt};
}
```

[example](https://codesandbox.io/s/zealous-spence-tr7xz?fontsize=14&hidenavigation=1&theme=dark)

## Development docs

See [tsdx](https://github.com/formik/tsdx/blob/master/templates/react/README.md)