Search

Nalezeno "react": 489

Use CSS Variables instead of React Context


Turns out you can use several different libraries to pass color information around components. Or, you could use custom properties, built right into CSS, have no decline in your own developer experience, and deliver a faster experience to your users. … The post Use CSS Variables instead...

(Jay Freestone’s) Front-end predictions for 2021


React framework maturity, early container queries, WASM adoption, and monoliths. I’ll take all four, please. Not feeling like a particularly front-end-y? Jay says: Interestingly, the biggest developments in the front-end are unlikely to be traditionally front-end concerns. Back...

Some React Blog Posts I’ve Bookmarked and Read Lately


The React Hooks Announcement In Retrospect: 2 Years Later — Ryan Carniato considers hooks to be the most significant turning point in front end in the past five years, but he also says hooks have muddied the waters as well. … The post Some React Blog Posts I’ve Bookmarked and Read...

Components: Server-Side vs. Client-Side


Building a website in 2021? I’m guessing you’re going to take a component-driven approach. It’s all the chatter these days. React and Vue are everywhere (is Angular still a thing?), while other emerging frameworks continue to attempt a push … The post Components: Server-Side vs. Client-Side...

useStateInCustomProperties


In my recent “Custom Properties as State” post, one of the things I mentioned was that theoretically, UI libraries, like React and Vue, could automatically map the state they manage over to CSS Custom Properties so we could use that state … The post...

3 Approaches to Integrate React with Custom Elements


In my role as a web developer who sits at the intersection of design and code, I am drawn to Web Components because of their portability. It makes sense: custom elements are fully-functional HTML elements that work in all modern … The post 3 Approaches to Integrate React with Custom Elements...

Theming and Theme Switching with React and styled-components


I recently had a project with a requirement to support theming on the website. It was a bit of a strange requirement, as the application is mostly used by a handful of administrators. An even bigger surprise was that they … The post Theming and Theme Switching with React...

Make Your Own Tools


Spencer Miskoviak on the Wealthfront blog: By creating custom DevTools specific to an app, they can operate at an even higher abstraction to handle things like user interactions, or debugging tracking events. While this requires building and maintaining the … The post Make Your Own Tools...

Recreating a Dave Whyte Animation in React-Three-Fiber


Learn how to use instanced rendering and post-processing techniques to recreate a hypnotic looping animation with react-three-fiber. The post Recreating a Dave Whyte Animation in React-Three-Fiber appeared first on Codrops

Collective #641


Codrops Collective Searcher * Scrollytelling with React * Tiny-Swiper * Cameras and Lenses The post Collective #641 appeared first on Codrops

Slow Movement


There was a time when I felt overwhelmed by how fast the web developed. It seemed like not a single day passed without a new plugin, framework, technique, or language feature being released. I believed that in order to survive as a freelancer and to compete with others I had to learn everything...

Netlify & Next.js


Cassidy Williams has been doing a Blogvent (blogging every day for a month) over on the Netlify Blog. A lot of the blog posts are about Next.js. There is a lot to like about Next.js. I just pulled one of Cassidy’s starters for fun. It’s very nice that it has React Fast-Refresh built-in....

React.isValidElement


Knowing what input type you’ve received is hugely important in JavaScript, which is a big reason for Flow and TypeScript’s rise. One such case where it’s useful to know what an object represents is if the input is a string or a React element. To detect if an object is a React...

Optimize Images According to Network and Device Constraints in React


Connectivity has evolved beyond recognition since the beginning of the internet. We are lightyears past dial up, these days, and can watch a video in high resolution on our smartphone while being connected to a mobile network. But not all mobile connections are created equal – older...

Creating UI Components in SVG


I’m thoroughly convinced that SVG unlocks a whole entire world of building interfaces on the web. It might seem daunting to learn SVG at first, but you have a spec that was designed to create shapes and yet, still has elements, like text, links, and aria labels available to you. You can accomplish...

How to Create a Timeline Task List Component Using SVG


I’m thoroughly convinced that SVG unlocks a whole entire world of building interfaces on the web. It might seem daunting to learn SVG at first, but you have a spec that was designed to create shapes and yet, still has elements, like text, links, and aria labels available to you. You can accomplish...

Stocks Rally On New COVID-19 Vaccine News, Bitcoin Yet To React


Today, the stock market was once again fuelled by new COVID-19 vaccine news while bitcoin (BTC) is yet to decide its direction. US-based Moderna Inc. said its vaccine was 94.5% effective in a preliminary analysis of a large late-stage clinical trial, compared with 90% in the case Pfizer...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace