blueprint
                                
                                
                                
                                    blueprint copied to clipboard
                            
                            
                            
                        Refactor simple class components into functions
Environment
- Package version(s): @blueprintjs/core v5.x
 
Feature request
Request to refactor simple class components into functions, which would allow:
- Forwarding refs via the 
refprop - Spreading DOM attributes like 
data-*- https://github.com/palantir/blueprint/issues/3763 - Rendering as server components - https://github.com/palantir/blueprint/issues/6263#issuecomment-1746745749
 
As of @blueprintjs/core v5.1.x, these include:
- [ ] Breadcrumbs
 - [x] Callout
 - [ ] Collapse
 - [ ] Dialog
 - [x] DialogBody
 - [x] DialogFooter
 - [x] Divider
 - [ ] Drawer
 - [x] FileInput
 - [x] FormGroup
 - [ ] InputGroup
 - [ ] KeyComboTag
 - [x] Menu
 - [x] MenuDivider
 - [x] Navbar
 - [x] NavbarDivider
 - [x] NavbarGroup
 - [ ] NonIdealState
 - [x] ProgressBar
 - [x] RadioGroup
 - [x] Spinner
 - [ ] TextArea
 
This would be a ⚠️ breaking change ⚠️