DEV Community

Freecodez
Freecodez

Posted on

2

React button component with text split animation

Hey there, You are most welcome to this article. I hope you will enjoy this article. If you like this article then please share this article with your friends and colleagues. If you have any questions or suggestions regarding this article then please comment down below.

React button component with text split animation

React button component with text split animation

For full source code visit : https://freecodez.com/post/7a7q9d8

// https://freecodez.com
const Button = (props) => {
    return (
        <div class="button">
            {props.txt.split("").map((x, i) => (
                <div data={x} key={i} class="box">{x}</div>
            ))}
        </div>
    );
};

Enter fullscreen mode Exit fullscreen mode

Source Code : https://freecodez.com/post/7a7q9d8

For more such articles visit : https://freecodez.com

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)