In the video, I demonstrated how to implement smooth-scroll on your Website using React js. Smooth-scroll makes the website looks cool, interactive and easy to navigate.
Install smooth-scroll on here:
[ Ссылка ]
After you can either import one of the below React Package:
import { Link } from 'react-scroll';
import { NavHashLink as Link } from 'react-router-hash-link';
---------------------------------------------------------------------------------------------------------------------------------------
If you decide to go with:
import { Link } from 'react-scroll'; then make sure to reference your id as "about"
---------------------------------------------------------------------------------------------------------------------------------------
If you decide to go with:
import { Link } from 'react-scroll'; then make sure to reference your id as "/#about"
---------------------------------------------------------------------------------------------------------------------------------------
By using the above React Package, you should be able to have smooth-scroll working properly on your website. #Link #NavHashLink
Interested in building a Responsive Website step-by-step: [ Ссылка ]
Ещё видео!