2021-12-20
2398
#react
Shalitha Suranga
83526
Dec 20, 2021 â‹… 8 min read

Create collapsible React components with react-collapsed

Shalitha Suranga Programmer | Author of Neutralino.js | Technical Writer

Recent posts:

Interface Segregation Principle

SOLID series: Understanding the Interface Segregation Principle (ISP)

Discover how the Interface Segregation Principle (ISP) keeps your code lean, modular, and maintainable using real-world analogies and practical examples.

Oyinkansola Awosan
Jun 30, 2025 â‹… 7 min read
​​How HTML’s Selectedcontent Element Improves Dropdowns

​​How HTML’s <selectedcontent> element improves dropdowns

is an experimental HTML element that gives developers control over how a selected option is displayed, using just HTML and CSS.

Temitope Oyedele
Jun 27, 2025 â‹… 6 min read
advanced caching in Node.js with Valkey

How to get faster data access in Node.js with Valkey

Learn how to implement an advanced caching layer in a Node.js app using Valkey, a high-performance, Redis-compatible in-memory datastore.

Muhammed Ali
Jun 27, 2025 â‹… 7 min read
how to properly handle rejected promises in TypeScript

How to properly handle rejected promises in TypeScript

Learn how to properly handle rejected promises in TypeScript using Angular, with tips for retry logic, typed results, and avoiding unhandled exceptions.

Lewis Cianci
Jun 26, 2025 â‹… 4 min read
View all posts

2 Replies to "Create collapsible React components with react-collapsed"

  1. Thank you so much for this article.
    For the advanced section, is there a way to show one collapsible at a time?
    Thank you

  2. Hi
    How to make single pane open always.
    That means, if we have 2 panes, clicking second pane should close 1st pane and viceversa

Leave a Reply