React

React

NeuralBlitz Updated 1 repo stars

File contents

React

React is a JavaScript library for building user interfaces through component-based architecture. It uses a virtual DOM for efficient rendering and supports server-side rendering.

Key Concepts

  • Components and props
  • State and useState/useReducer
  • Effects and useEffect
  • Context for global state
  • Hooks pattern

Common Use Cases

  • Single-page applications
  • Mobile with React Native
  • Server rendering with Next.js
  • Interactive dashboards
  • Component libraries

Best Practices

  • Use functional components
  • Implement proper state management
  • Memoize expensive computations
  • Use proper error boundaries
  • Test with React Testing Library

Resources

  • React.dev: react.dev
  • Related Skills: javascript, nextjs, redux

NeuralBlitz/Agent-Gateway/tree/main/agent-gateway/skills/user/categories/frontend/react commit 5dec0a5798

Frequently asked questions

npx skillmds@latest add neuralblitz/react-2