DEV Community

loading...

Discussion on: Truncate Text In React.js and JS

Collapse
thexdev profile image
M. Akbar Nugroho

Hi, it's a nice post. But, i think it can be more easier when you use css instead of js.

Collapse
abodmicheal profile image
Abod Micheal (he/him) Author

Thank you,
falls into preference , some people prefer using it on Js than css .

Forem Open with the Forem app