react-image-display-control
react-image-display-control copied to clipboard
🚀 Next-gen responsive images in React
For example, if the user writes ```tsx ``` instead of ```tsx ``` See: * https://docs.frameright.io/react/attributes * https://docs.frameright.io/web-component/attribute-ref
https://unpic.pics/img/react/ As for #6, out of curiosity, what happens if we wrap an `unpic` `` with our React component?
This would allow some user CSS rules to target that and display something while things are loading. Somewhat related to `2. CSS class marking well-functioning components` in https://github.com/Frameright/image-display-control-web-component/issues/7
When doing ```jsx ``` an `is="image-display-control"` attribute will be added to the `` tag in order to turn it into an [Image Display Control web component](https://github.com/Frameright/image-display-control-web-component). This is problematic however...
Out of curiosity, what happens if we do ```tsx ``` ? See https://www.twicpics.com/docs/components/react
By following https://github.com/Frameright/image-display-control-web-component/blob/main/image-display-control/docs/explanation/browsers.md#resizeobserver-polyfill we can support older Safari versions.
Related to https://github.com/Frameright/image-display-control-web-component/issues/10
```html ``` In case the child's `src=` is constructed for example based on its state, updated later asynchronously by a `useEffect()`, we (the parent ``) won't notice the change, and...
Bumps the all-deps group with 3 updates in the / directory: [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom), [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) and [rollup](https://github.com/rollup/rollup). Updates `@types/react-dom` from 19.1.2 to 19.1.3 Commits See full diff in compare view Updates `eslint-plugin-prettier`...