pirelenito / react-marquee-renderer

πŸš€ Custom React renderer that supports only marquee tags

Home Page:https://www.npmjs.com/package/react-marquee-renderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-marquee-renderer

npm version downloads

A blazing fast πŸš€ custom React renderer that supports the only tag that matters: marquee.

Usage

This is a drop-in replacement for react-dom, so instead of:

import * as ReactDOM from 'react-dom'

Import the react-marquee-renderer:

import * as ReactDOM from 'react-marquee-renderer'

As stated, this renderer only supports the marquee tag. Any other tag will be actually rendered as a marquee.

For more information on supported props, check the MDN marquee docs and ignore the part that says its obsolete.

Seriously

If you haven't noticed by now, this project is a joke. It was created as a demo for a presentation at FikaJS meetup.

For further reading/viewing on the topic of creating custom renderers for React, here are some great resources:

About

πŸš€ Custom React renderer that supports only marquee tags

https://www.npmjs.com/package/react-marquee-renderer

License:MIT License


Languages

Language:TypeScript 93.0%Language:HTML 7.0%