SSR for multiple breakpoints using React

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • demo-react-ssr-multiple-breakpoints

    Demo application for a blog

  • Source code for the initial carousel implementation before changes can be found here in the branch named before-changes

  • css-modules

    Documentation about css-modules

  • CSS Modules for modularizing SCSS styles

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • classnames

    A simple javascript utility for conditionally joining classNames together

  • Lastly, the component loops through selected themes to apply rendering logic and boundary class names. All selected themes are rendered on the server, whereas only the matched theme is rendered on the client. suppressHydrationWarning property is necessary to prevent warnings when the VDOM tree branch is omitted during hydration render. cx function is used to concatenate class names, see classnames package. themeNameMapper is a hashmap that stores theme names keyed by breakpoints.

  • @artsy/fresnel

    An SSR compatible approach to CSS media query based responsive layouts for React.

  • Also, take a look at a library @artsy/fresnel, which uses a similar approach to solve CLS issues in server-side rendered applications.

  • Sass

    Sass makes CSS fun!

  • SCSS for styling

  • Next.js

    The React Framework

  • NextJS for React SSR

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts