Nextjs How to use getServerSidePropsIn simple terms, getServerSideProps enables a page to render server-side. getServerSideProps renders your client-side page in server-side and returns a hydrated SEO-friendly HTML ... October 9, 2022 |
Document parsing with Jsoupjsoup is a Java library to work with HTML and XML markups. jsoup provides an API to extract and manipulate markup data, allowing us to scrape and parse HTML and XML from a URL, fil... October 9, 2022 |
Spring framework HandlerInterceptor exampleHandlerInterceptor is similar to a Servlet Filter. In addition HandlerInterceptor allows custom pre-processing with the option of prohibiting the execution of the handler itself, a... August 23, 2022 |
React js google tag manager: React Google analytics problem solvedGoogle tag manager, out of the box is unable to track React js page navigations using react-router. This article explains how the React js Router works and how to make Google tag m... October 8, 2022 |
Junit private methods: How to unit test private methods and classesUnit testing private methods and classes are possible by using Powermock's Whitebox. The Whitebox uses reflection to create inner class instances and invoke private methods outside... August 23, 2022 |
Reactjs global state without redux: React state management with context apiThis article explains how to use the react context API to manage the application's global state without using complex libraries such as redux and prop drilling. August 23, 2022 |
Convert react app to server side rendering with next.jsThis article explains how to convert a React js application to Next js in few easy steps. The example includes a fully working React js application re-written in Next js. August 23, 2022 |
Next js quick references and tipsDiscuss five tips to make your Nextjs development easy. See how env local variables, changing default server port, dynamic javascript, title, and meta description, and refresh getS... October 3, 2022 |
NGINX ssl certificate configuration: using https with NGINXConfiguring SSL with NGINX takes only few minutes. This tutorial guides you through the essential steps to install SSL in the Nginx server to enable HTTPS October 3, 2022 |
Next js generate sitemap dynamicallyA sitemap is an essential component in SEO. This tutorial explains how to generate a sitemap in the next js without installing any additional packages October 2, 2022 |