Closed ahnl closed 2 years ago
I think that wouldn't be hard to implement in react, without a use of another dependency :-)
Easily, if someone has time to do it.
Regardless, the dependencies are processed by webpack.
If dependencies are allowed, this seems to be perfect for the job: https://github.com/braposo/react-text-loop
Here's a small demo showing the new words with react-text-loop: https://codesandbox.io/s/react-text-loop-playground-forked-0o9fvm?file=/src/App.tsx
If dependencies are allowed, this seems to be perfect for the job: https://github.com/braposo/react-text-loop
Here's a small demo showing the new words with react-text-loop: https://codesandbox.io/s/react-text-loop-playground-forked-0o9fvm?file=/src/App.tsx
Thanks, I ended up using this.
Feel free guys to suggest more titles such as:
Someone suggested that "Nettiyhteisö nuorille hakkereille" sounds alone a bit weird. Swapping the hakkereille word each few second to a different with a nice animation could be a neat fix:
Here's a component we could use. https://www.npmjs.com/package/react-text-transition