FrontEndHubπŸ’»
65 subscribers
85 photos
4 files
268 links
A channel for developers who want to pump their skills.
Download Telegram
Under-the-hood of React Hooks

- React overview
- React Hooks
- The useState Hook

#react #hooks
Master Scrolling with React

- Scroll to an Element
- Scroll to an Exact Location
- Benefits of Scroll Effect
- Popular Scrolling Libraries for
React
- Concluding Thoughts


#react #js #scroll
Adding a layer of more explicit typings on top of 3rd party library interfaces

- AG Grid: Typing Column Types
- Potential Issues
- Solving Potential Issues 1) and 2)
- Implementing SupportedColTypes Safely
- Formly: Typed Formly Config Builder


#react #angular #ts
Inside Fiber: in-depth overview of the new reconciliation algorithm in React

- Setting the background
- From
React Elements to Fiber nodes
- General algorithm
- Commit phase


#react #fiber #reconciliation
Why you should stop using the β€œcontainer/presentational” pattern in Redux

The redux style guide has an important rule: β€œConnect More Components to Read Data from the Store”. This rule has some important performance aspects that are covered with an example in this post.

#react #redux
Don’t put that in React State β€” Thinking in React

- Rule #1: Don’t duplicate data from props to state.
- Rule #2: Don’t keep any data in the state unless you use it in rendering
- Rule #3: Don’t add something to the state which can be derived directly from existing state properties


#react
Should You Really Use useMemo in React? Let’s Find Out.

- What is useMemo?
- What does
React say about useMemo?
- Hypothesis
- Benchmarking Setup
- Results


#react #hooks #performance
React folder structure for enterprise level applications

The goal of this article is to explain the reasoning behind this structure so that you can use these ideas to architect the best solution for your project.

#react
CPT Custom Hooks, React Router

useHistory
useRouteMatch
useParams
useLocation


#react #hooks
Three ways to handle data fetching logic in React projects!

- The Simplest Way
- The Redux Way
- The
React Query Way
- So, which is the best way?


#react
How and Why You Should Store React UI State in the URL

- Bring back deep linking on the web
- Dead-Simple Deep Linking
- The Code


#react #statemanager
How to useRef to Fix React Performance Issues

- The Problem
- The Aha Moment
- The Solution
- When to useRef

#react #hooks
React Architecture Patterns for Your Projects

Navigating a Directory Structure
Create Custom Hooks
Use Absolute Imports
Open Source Session Replay
Separate business logic from UI
The Utils directory
Avoiding creating a single Context for everything

#react
Deep dive into React codebase [EP1: Prerequisites]

Preface
Prerequisites to the whole series
Afterword


#react
Commit Better Code with Husky, Prettier, ESLint, and Lint-Staged

Tools of the Trade 🧰
Commiting Clean Code to a Project
Adding ESLint and Prettier
Configuring Husky
Testing Our Setup
Further Resources

#react
Simple Readable Client-side Architecture β€” React

UI Components
Containers
Interactions
API Related Data
Global states
Selectors
Benefits
Readability
Shareability
Testability
Conclusion

#react #architecture
Top 6 React state management libraries for 2022

Recoil
Jotai
Redux
Rematch
Zustand
Hookstate
React Context

#react
Why custom react hooks could destroy your app performance

Let’s build a modal dialog on custom hooks
Performance implications
Adding more functionality to the useModal hook

#react #hooks
How to write performant React code: rules, patterns, do's and don'ts

Let's structure our app first
Implementing Page component
Refactoring Page component - with performance in mind
Implementing the list of countries
Implementing selected country
Final polish: theming

#react #hooks
Why React Re-Renders

The core React loop
It's not about the props
Profiling with the React Devtools
Going deeper
Bonus: Performance tips

#performance #react