-
`function FrozenRouter(props: { children: React.ReactNode }) {
const context = useContext(LayoutRouterContext ?? {});
const frozen = useRef(context).current;
if (!frozen) {
return {pro…
-
A current frustration with types right now is that we can't provide context aware types for the users due to how our types are declared.
This change could provide valuable IDE information to our fi…
-
#### Category
[ ] Enhancement
[ ] Bug
[x] Question
#### Version
Please specify what version of the library you are using: 3.18.0
#### Expected / Desired Behavior / Question
How can it…
-
I've been iterating on some code. The errors that are coming from `ui` are complete misdirections. Below I have some broken code plus the error that came with it. I made some changes towards resolv…
-
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of…
-
Please provide:
- Code Connect CLI version [use `npx figma -V` if using React, or `figma -V` otherwise, to get the version of your CLI]
- Operating system
- Code Connect file, Figma design and/or…
-
### bug描述
当我给styled.div等声明方式生成的组件,赋予class属性时,由插件自动生成的styled-xxxx类名被覆盖了而不是合并,导致样式失效
### Reproduce link
_No response_
### To reproduce
```ts
const GameHeaderLayout = styled.div`
displ…
-
For the context menu we have not wrapped [RadioGroup](https://www.radix-ui.com/#radiogroup) [RadioItem](https://www.radix-ui.com/#radioitem) , [CheckboxItem](https://www.radix-ui.com/#checkboxitem), g…
-
I think the actual code smell is computing some variable from context and props. Just like a component instance should either read from state or props (but not switch between) we shouldn't listen to c…
-
### Describe the problem
I know that you have a lot to do without me! Guys, I think it's very important to have functionality: to directly transfer values from the layout to pages, to components an…