docs(lit): replace deprecated getValue() with state.value in quick-start#2182
docs(lit): replace deprecated getValue() with state.value in quick-start#2182dojhoanrd-jw wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the Lit quick-start documentation to reflect the current field state access API. The input template binding is changed from ChangesLit Quick-Start Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
Fix usage of deprecated API in the Lit quick-start guide:
docs/framework/lit/quick-start.md): Replacefield.getValue()withfield.state.value. ThegetValue()method is marked@deprecatedinpackages/form-core/src/FieldApi.tswith the message "Usefield.state.valueinstead". This update keeps the Lit guide consistent with the other framework guides (React, Vue, Svelte, Solid, Angular, Preact), which already usefield.state.valuein their examples.✅ Checklist
pnpm test:pr.🚀 Release Impact
Summary by CodeRabbit