Search

Nalezeno "React": 502

React Starter: The Many Ways to Return JSX


JSX is a great tool because it has so much flexibility. There are many ways to achieve the same thing. For this reason, it can be confusing for new developers when they see different tactics for de

Using Cypress to Write Tests for a React Application


End-to-end tests are written to assert the flow of an application from start to finish. Instead of handling the tests yourself — you know, manually clicking all over the application — you can write a test that runs as you build the application. That’s what we call continuous integration and it’s...

React Starter: JSX Basics


JSX is the templating language for React. JSX is also one of the main reasons why devs say they dislike React at first. As with all new tools, there will be a learning curve. JSX is no diffe

A Course About CSS Layout and Animations


Christina Gorton just released a new course called CSS Layout and Animations as a part of Design+Code, which is a $9/month. That includes a ton of video training on everything from stuff like this to React to Sketch to iOS development... and beyond! Christina approaches the course with my favorite...

Create a Custom useFetch() React Hook


A custom hook is a JavaScript function with a unique naming convention that requires - the function name to start with use and the function may call other Hooks

Creating Animations Using React Spring


Have you ever needed animation in your React application? Traditionally, implementing animation has not an easy feat to accomplish. But now, thanks to Paul Henschel, we there’s a new React tool just for that. react-spring inherits from animated and react-motion for interpolations, optimized...

React Async for Declarative Data Fetching


Generally, there are two ways of writing code: Imperatively/Declaratively and two ways of fetching Data: Synchronously/Asynchronously. We are more convenient with making requests imperatively using

Collective #519


Subgrid is here * BioRender * React Vertex * Pointcloud effect in Three.js * GitHub Sponsors Collective #519 was written by Pedro Botelho and published on Codrops

Getting Started with React Testing Library


I can guess what you are thinking: another React testing library? So many have already been covered here on CSS-Tricks (heck, I’ve already posted one covering Jest and Enzyme) so aren’t there already enough options to go around? But react-testing-library is not just another testing library. It’s...

Animated Page Transitions in Gatsby Websites


GatsbyJS is a React-based static site generator powered by GraphQL. It makes it possible for you to code and develop your site, while Gatsby transforms it into a directory with a s

Iterating a React Design with Styled Components


In a perfect world, our projects would have unlimited resources and time. Our teams would begin coding with well thought out and highly refined UX designs. There would be consensus among developers about the best way to approach styling. There’d be one or more CSS gurus on the team who could ensure...

Deploying a Client-Side Rendered create-react-app to Microsoft Azure


Deploying a React app to Microsoft Azure is simple. Except that... it isn’t. The devil is in the details. If you're looking to deploy a create-react-app — or a similar style front-end JavaScript framework that requires pushState-based routing — to Microsoft Azure, I believe this article will serve...

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