Remove Best Practices Remove Code Remove Magazine Remove Open Source
article thumbnail

React Children And Iteration Methods

Smashing Magazine

In this article, we’ll look at a React utility React.Children.toArray which lets us prepare the children prop for inspection and iteration, some of its shortcomings and how to overcome them — through a small open-source package, to keep our React code function the way it is deterministically supposed to behave, keeping performance intact.

article thumbnail

Gone Floating Labels And Green Lighthouse Scores

Smashing Magazine

Also, if you have released an open-source tool and would love to draw more attention to it, please let us know as well and we’d love to have you presenting your project here in the magazine as well. Workflow & Code. Workflow, Code. Workflow, Code. Workflow, Code. Workflow, Code. UX, Design.

Mobile 140
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Implementing A Reset Password Feature With Next.js Dynamic Routes

Smashing Magazine

Well, there’s even an open-source project that literally handles authentication from the ground up. With detailed code walkthroughs , hands-on examples and common gotchas — all broken down into short, manageable lessons. There is a lot of information about the best practices and awesome password-reset design patterns out there.

article thumbnail

Building A Static-First MadLib Generator With Portable Text And Netlify On-Demand Builder Functions

Smashing Magazine

Generate your own madlibs in the demo ; Look through the final code on Github ; Get a fully-built version set up in your accounts. Sanity pairs a real-time data store with three open-source tools: a powerful query language (GROQ), a CMS (Sanity Studio), and a rich-text data specification (Portable Text). Portable Text.

article thumbnail

Smashing Podcast Episode 40 With Mike Cavaliere: What Is Chakra UI For React?

Smashing Magazine

Designing With Code: A Modern Approach To Design. He’s been writing code for two decades, and using JavaScript the whole time. They just have to copy and pastable Chakra code. Is that born out in the code itself? Do they practice what they preach? Drew McLellan talks to expert Mike Cavaliere to find out.

Website 62
article thumbnail

Let’s Dive Into Cypress For End-to-End Testing

Smashing Magazine

We know that front-end testing is a set of practices for testing the UI of a web application, including its functionality. Makes sense — with these measures, we can ensure that our application is working correctly and that no future changes will break our code. Cypress’ test runner is open-source, so it fits our product strategy.

Testing 135
article thumbnail

How To Build An Amazon Product Scraper With Node.js

Smashing Magazine

With 100s of real-life examples , guidelines and best practices that you can apply right away. You need to adapt your scraper’s code for a specific system , and if you use the same script on a new kind of page, you’d have to rewrite parts of it. To keep things simple, we’ll take a step-by-step approach to writing the code.

Website 115