We are now seeing the huge number of blogging sites, whether on your own application or on sites ready for blogs such as WordPress, Blogger and others
_Of course, one of them is me π π
Now what distinguishes sites from each other is not only the quality of the content, but the ease, speed, efficiency and responsiveness
Here we have Next.js
First let me define Next.js:
Next.js is a JavaScript framework created by** Zeit**. It allows you to create server-side rendering and static web applications using React. It's a great tool for building your next website. It has many great features and advantages, which can make Nextjs your first choice for building your next web application.
Next.js comes with a bunch of cool features like server-side rendering, routers, and slow loading.
Server-side rendering:
Next.js performs server-side rendering by default. This makes your application optimized for search engines. You can also integrate any middleware like express.js or Hapi.js, and you can run any database like MongoDB or MySQL.
Next.js comes with a header component that allows you to add and create dynamic meta tags.
These make your website able to be indexed by search engines like Google.
Create a static website with Next.js
In addition to server-side rendering, you can still compile and export your app as an HTML static website and publish it to a static hosting website like a GitHub page or netlify.
routers
This is another great feature of Next.js. When using the create-reaction-app, you usually need to install the interactive router and create its own custom configuration.
lazy loading
Slow loading makes your app offer a better user experience. Sometimes it may take a while for the page to load. The user may abandon your app if it takes more than 30 seconds to load.
The way to avoid this is to use some trick to indicate to the user that the page is loading, for example by displaying a turntable. Lazy loading or code splitting is one feature that allows you to handle and control lazy loading so that you only load the necessary code on your page.
Conclusion :
These features make next.js the best choice to start blogging and profit from it in the best possible way
Building a blog with Next.js is today's top choice for those who want a simple yet powerful blog - without ending up with a lot of code and while increasing our SEO rankings.
SEO (Search Engine Optimization) is the process of optimizing your app to rank better on search engines. It is very important for any blog that wants to rank better on search engines and bring in more traffic. A good app with poor SEO rankings will not be productive, effective, or successful.
Top comments (0)