react-16.1.0-rc.1
Pre-release
Pre-release
·
51 commits
to rc
since this release
16.1.0-rc.1 (2026-03-10)
Features
Migration guide
The ThemeProvider no longer validates themes against a fixed AVAILABLE_THEMES list. The exported Theme type is now TEDITheme | string, where TEDITheme = 'default' | 'dark'. Any string value is accepted as a valid theme.
Theme initialization priority has also changed. The provider now resolves the initial theme in this order:
localStorage(tedi-themekey)document.cookie(tedi-themecookie)themeprop- Falls back to
'default'
This means a previously-stored theme will take precedence over the theme prop. If your application relied on the prop always being authoritative, clear the stored value or adapt your initialization logic.