Bio
Blog Posts (16)
Optimizing eCommerce Success: Best Practices for Web Development with Modern Frameworks
How do you write a web development guide for eCommerce websites? You don’t! What you write about instead are best practices you often see implemented.
This post is precisely that: a collection of practices our devs advocate, practices we’ve seen our clients do, and practices we’ve picked while networking with speakers and attendees at React Norway over a beer or two. BTW, React Norway 2025 is happening - submit a talk or get your tickets on time.
The rapid advancement of web technologies has transfigured the eCommerce landscape, enhancing online storefronts' development and user experience. And frankly nowadays, employing modern web frameworks is pivotal to achieving an exemplary, performant, and user-friendly eCommerce site.
Advanced GraphQL API Usage in Crystallize
Before we start - all the endpoints can be found in the GraphQL playground mentioned below.
Since Crystallize began, GraphQL has been chosen as a primary query language for all endpoints. The declarative nature of the language allows for fetching just the data we need, making all requests very predictable, minimizing the transferred data, and improving the response time. The Crystallize GraphQL application programming interfaces (API) efficiently manage core shopping functionalities like product catalogs, cart management, checkout processes, and orders.
Pull Request Best Practices
So, you are done writing your code and (finally) want to merge it to get it out there so you can get on with the next task. It is never that easy, right? You need to ensure that all the PR checks pass. A reviewer will most likely also need to approve it. The work still needs to be done. To speed up the merging, you need to make sure that your PR is as easy to review as possible.
Pull requests are instrumental in maintaining a project's integrity by fostering collaboration, enabling peer review, and ensuring that only high-quality, tested code is merged.
Before we continue ...
Leveraging Global CDN for Faster eCommerce Delivery
Online shopping stores have taken off in recent years. As of 2024, there are 2.64 billion online buyers worldwide, a big chunk of the world's population. The success of any e-commerce business relies heavily on more than great products and competitive prices.
Users expect an online store to be performant and provide a smooth experience. After all, that is one way to convert window shoppers and browsers into buyers (more on that in our CRO strategies post).
This is where Global Content Delivery Networks (CDNs) come in. A CDN is a powerful tool that has had a big impact on how online retailers deliver content to their customers, ensuring lightning-fast loading times and a seamless shopping experience across the globe.
Let’s explain this with an example.
An entrepreneur runs a jewelry store. The web designs are amazing, but she has noticed high bounce rates and a lot of abandoned carts. The culprit? Product images are loading too slowly, and checkout is laggy for international customers. This is not a unique story; many eCommerce stores face this problem.
We’ll discuss how CDNs can be properly leveraged to make visiting that jewelry store from the example (and your online store) a great experience.
Hands-On Experience: eCommerce Store with Astro?
Astro🚀 has been a hot topic since its release in June 2022, especially because it is extremely fast. So it was a no-brainer to choose which framework we should go with next for our series of minimal eCommerce boilerplates titled ‘dounut’.
Checkout Flow: Leveraging Crystallize APIs
This post explores three important functions: fetching products, adding to a cart using our brand-new Shop API and pushing orders. The queries mentioned in this post are not tied to any language; you will use the same queries regardless of your language.
Decoding the Hype: What Are React Server Components?
And is it something you should use in your application? Does it replace SSR and suspense? Let’s go through each of these questions individually and better understand the core concepts behind React Server Components, their advantages, and their impact on modern web development practices.
Unveiling the Frontend Frameworks: Next.js vs. Remix.run
Having worked as a web developer for a while, I've had the pleasure (and occasional frustration) of working on projects that demanded the best from both frameworks. If you head over to the official React website, Next.js and Remix.run are the two frameworks recommended there. Each comes with its bag of tricks and quirks, making the development journey a roller coaster ride.
Next.js, loved for its strong emphasis on performance, especially with "static" mode, has become one of the most widely embraced frameworks worldwide. Its charm lies in its well-established ecosystem and seamless integration with Vercel, making it a go-to choice for many developers.
On the flip side, Remix, despite being relatively new, is receiving praise for its dynamic flexibility and smooth data handling, positioning itself as an exciting option for teams looking to create agile user experiences and robust data management systems while also keeping fantastic performance.
Let's get cracking and delve into the details of these frameworks.
The Cost of 3rd Party Scripts: Understanding and Managing the Impact on Website Performance
3rd party scripts are also notorious for hurting your website’s performance in addition to posing security risks. With that being the case, let’s look at the cost of third-party scripts and how to manage their impact better.
GraphQL Typescript Generators
GraphQL is a query language that optimizes performance by returning only the requested data, while TypeScript is a statically-typed language that helps catch errors during development. Together they can create robust and efficient web applications.
Best Payment Gateway Providers for 2023
A payment gateway is a tech backend solution that facilitates the payment process for online businesses. Important, right?
Frontend Frameworks in 2024 for eCommerce
As a headless eCommerce platform, our primary goal is to create services that delight front-end developers. This involves extensive research, hands-on experimentation with cutting-edge frontend frameworks, and the development of open-source eCommerce starters utilizing these technologies.
With React, Angular, and Vue, along with frameworks built on top of React, such as Next JS and Remix Run, and Vue, like Nuxt JS + frameworks like Svelte, Astro, and 11ty, the landscape of front-end frameworks appears nearly limitless. Still, this post is not about comparing or choosing the best one.
Instead, here we will highlight the frameworks we’ve found most rewarding to work with and believe should be part of your tech stack. By the way, our enthusiastic endorsement of these frameworks is admittedly biased, shaped entirely and solely by our own meandering experiences.
Gatsby vs. Next JS
The world of React frameworks is ever-evolving; many frameworks are available on hand to create incredible web applications. Gatsby.js and Next.js are two such contenders, and over the years, they have evolved and learned from each other. However, things have changed (for Gatsby.js mostly).
Let's delve into the current state of affairs and inject a dose of opinion into the mix.
Free Conference Website Template
Hosting a conference? You’re already in talks with speakers, sponsors, venues, etc. while planning marketing activities, and you need an awesome-looking website, but don't have too much time for it. Enter the Intergalactic Conference boilerplate.
Web Rendering Explained: SSR, CSR & SSG for High-Performance Sites
Whenever you write about frameworks, you end up with 50% of the article trying to explain concepts around rendering on the web. So, the topic deserves its own post, this one.
Before we get started, we need some background and definitions. What is rendering on the web? To answer that question, we'll take a stroll down history lane.
More than thirty years ago, the web started as a collection of static documents built for scientists to share their findings and ideas. Over the following decades, the web became more dynamic, and technologies like PHP, MySQL, and others enabled developers to build more dynamic functionalities.
Since then, JS frameworks and a class of static site generators have been introduced, rendering has become complex, and different models are suitable for different use cases. This article attempts to make sense of all this complexity. If we succeed, you will be empowered to determine which methodologies are best suited for your next web project.
React Based Static Site Generators in 2024
Often critiqued for NOT delivering on a promise of transforming front-end development, since its release in 2013, React JS has been under the fray of the dev world.
Last year's annual State of JS report on front-end frameworks and libraries survey showed interest may be falling, but React usage is growing (source link). Furthermore, insights from the Stack Overflow Developer Survey 2023 reinforce React's position in the ecosystem as the most loved web framework, with a notable percentage of developers either using it or expressing interest in using it shortly (source link).
While we wait on fresh stats, one could argue it is the framework of the web. Still, web development is an ever-changing beast. Yesterday's underdogs are today's hyped frameworks/libraries/approaches/architectures/concepts _________________(add anything here).
Not long ago, most businesses relied on monolithic solutions for content management (CMS) and eCommerce with coupled front and back end. That became a problem as new screens, markets, and channels emerged. The rise of headless architecture allowed businesses to think differently.
New technologies/frameworks significantly simplify the web development, management, and distribution processes while allowing for better reach, performance, and the web in general.
Why are we mentioning this here? Well, if you know React and are ready to take advantage of headless architecture in your blog or online store, all you'll need is a static site generator to get you going (so to speak).