Build Nodejs APIs Using Serverless

Simona Cotin did a great talk at Microsoft Build about Serverless technologies, called “Build Node APIs Using Serverless.” In this talk, she addresses pretty much every major gotcha that you might run into while creating Serverless infrastructure for JavaScript applications. Some of the topics included, but are not limited to:

  • CORS
  • Local Debugging with VS Code
  • Installing npm packages
  • Configuring REST-like URLs
  • Saving environment variables

All in all, it’s one of the best talks on Serverless I’ve seen, and if …

The post Build Nodejs APIs Using Serverless appeared first on CSS-Tricks.

Read more

What You Should Do Before Changing Your Theme

One of the benefits of WordPress is the ability to change themes as often as you want. You can use themes and plugins to extend the functionality of your website so that you can get the site of your dreams, and with thousands of themes in the WordPress repository and elsewhere, there is practically no …
The post What You Should Do Before Changing Your Theme appeared first on Torque.
Read more

How React Reconciliation Works

React is fast! Some of that speed comes from updating only the parts of the DOM that need it. Less for you to worry about and a speed gain to boot. As long as you understand the workings of setState(), you should be good to go. However, it’s also important to familiarize yourself with how this amazing library updates the DOM of your application. Knowing this will be instrumental in your work as a React developer.

The DOM?

The …

The post How React Reconciliation Works appeared first on CSS-Tricks.

Read more

The Ultimate Guide to Headless CMS

(This is a sponsored post.)

The World Has Changed—So Must the CMS

Having a responsive website is no longer enough. Your audience expects a seamless and personalized customer experience across all their devices—the age of headless technology is coming.

Headless CMS is the next generation in content management for brands that want to stay ahead of the curve by engaging customers through the growing number of channels.

Download The Ultimate Guide to Headless CMS ebook for a deep look …

The post The Ultimate Guide to Headless CMS appeared first on CSS-Tricks.

Read more

30+ Clean & Minimal Landing Page Templates

You may already know about the power of landing pages. It’s one of the greatest online marketing strategies many businesses use. Instead of directing your traffic to a website homepage, sending traffic to a landing page is a great way to increase conversions. Did you know that 48% of marketers build new landing pages for […]
Read more

Designing Swappable Search Request Implementations – Code Review Part 4

In the last article, we identified that the task of generating posts, albeit arbitrary, is just one possible implementation of getting content for a search query. As such, we split the tasks of “getting content” and “generating posts” into separate methods. This design sets us up for a discussion about designing swappable search request implementations. …
The post Designing Swappable Search Request Implementations – Code Review Part 4 appeared first on Torque.
Read more

Responsive tables, revisited

Lea Verou with some extra super fancy CSS trickery. No way we could miss linking this one up!

One of the problems with responsive table solutions, at least the ones where you are using CSS to rejigger things, is that there is duplicated content somewhere. Either in CSS or HTML.

Lea finds two ways to prevent that. One of which uses text-shadow to “duplicate” a copy of the text and move it into place. Another uses the Firefox-only element() function. …

The post Responsive tables, revisited appeared first on CSS-Tricks.

Read more