I like to code, teach and promote. Subscribe to the Web Dev 101 and Datanation podcasts. Blogs and videos at devNursery.com and GrokOverflow.com. Find everything at AlexMerced.com
depends on the widget, if your talking about a youtube widget I'd just paste the code right into the page. If the widget relies on data that needs to be pre-fetched at build time then use getStaticProps
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, How do we do if we want to show a widget on the Home page? Do we still need to use getStaticprops on the homepage again?
depends on the widget, if your talking about a youtube widget I'd just paste the code right into the page. If the widget relies on data that needs to be pre-fetched at build time then use getStaticProps