- Feb 2024
-
-
VLADI, tranquilo, no podemosfallar, tengo mi baraja de lasuerte
Un juego de cartas marca Bicycle pudiera ser interesante
-
- Jan 2024
-
genius.com genius.com
-
R-E-S-P-E-C-T, take care of T-C-B
some may hear the mondegreen T-C-P which confusingly leaves R-E-S-E meaning nothing.
The initials T-C-B most likely mean "Take Care of Business", which fits in with some of the other variations of Franklin's version including:
"Ooh, your kisses, sweeter than honey<br /> And guess what? So is my money"
which equates kisses as being on par with her earnings, for which she expects "propers" (aka props, or proper respect).
-
- Mar 2023
-
chem.libretexts.org chem.libretexts.org
-
the more branched is the isomer the lower is the boiling point temperature is.
-
- Jan 2022
-
svelte.dev svelte.dev
- Jun 2021
-
github.com github.com
-
'set-cookie': response.headers.get('set-cookie')
-
If you do need to passthrough your mydomain.com cookies to a thirdparty.com domain, you can technically already do that now by implementing it as an endpoint and calling fetch('/my-endpoint')
-
I don't really want to re-implement all of my api endpoints to make this work. Is there a way to "mask" the thirdparty endpoints to pass through the cookies?
-
- Jan 2021
-
github.com github.com
-
allow <slot> to be part of a slot
-
I want to make some add-ons or wrappers on components e.g BigButton.svelte <script> import Button from './Button.svelte' </script> <Button fz="16" h="64" {...$$props}> <slot slot="prepend" name="prepend" /> <slot /> <slot slot="append" name="append" /> </Button>
-
Related to #1824, can do <svelte:component this={Bar}> <slot></slot> <slot name="header" slot="header"></slot> </svelte:component> <script> import Bar from './Bar.svelte'; </script> as a forwarding workaround
-
-
-
I am trying to implements this usecase (a generic lazy loader component which forwards slots/events to the "real" component).
-
-
github.com github.com
-
In 3.29.0 you can now use <slot slot='...'> to forward slots into a child component, without adding DOM elements.
-
Would love to see passthrough slots to create superset components, for example Table and TableWithPagination (table slots for TableWithPagination could be passed through to Table).
-
- Nov 2020
-
github.com github.com
-
All standard UI events are forwarded on components, input events ("input" and "change") are forwarded on input components, and all MDC events are forwarded.
-
You can add props to lower components and elements with things like input$maxlength="15".
-
You can add actions to the components with use={[Action1, [Action2, action2Props], Action3]}.
-
-
-
github.com github.com
-
All standard UI events are forwarded.
-
class: '' - A CSS class string.
-
use: [] - An array of actions and/or action/property arrays.
-
- Oct 2020
-
svelte.dev svelte.dev
-
whenValueChanges whenValueBecomes
-
-
github.com github.com
-
In a later major, we'd stop extracting key from props and therefore props is now just passthrough.
-
-
github.com github.com
-
Solid supports spread operator on native elements and Components.
-
- Sep 2020
-
github.com github.com
-
There are usually very little amount of properties that a component relays on
-
-
github.com github.com
-
The point of the feature is to not rely on the third-party author of the child component to add a prop for every action under the sun. Rather, they could just mark a recipient for actions on the component (assuming there is a viable target element), and then consumers of the library could extend the component using whatever actions they desire.
-
They don't need to add a prop for every action. The action itself can be passed in as a prop. <script> export let action; </script> <div use:action>whatever</div> The argument for the action can be another prop or can be part of the same prop.
Tags
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- flexibility
- extensibility
- powerful
- Svelte: action (use:)
- emergent
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- I didn't know you could do that / that was possible!
- component properties (props)
- pass-through arguments/props/options
Annotators
URL
-
-
-
Part of the functionality that is returned are event handlers. I'd like to avoid needing to manually copy the events over one by one so the hook implementation details are hidden.
-
-
svelte.dev svelte.dev
-
If you want to listen to an event on some deeply nested component, the intermediate components must forward the event.
-
-
-
We should also allow passing unrecognised props to the rendered component. eg: tabindex might be required on some instances of a component, and not all. Why should developers have to add tabindex support to their components just that it may potentially be used
Glad to hear this is solved now: $restProps
-
You could do something like this instead while maintaining complete control of where different props go. <div class="wrapper> <div {...$$props} > ... </div> </div>
-
- Aug 2020
-
github.com github.com
-
All of the components should allow passing MUI configuration properties to them so that they can be easily customized. In the case of RFF and MUI components with deeply nested structures of multiple subcomponents, you can pass the properties in with sepecial top level properties. This is very hard to document fully without making a mess, so please refer to the source code and demos for examples.
-
- Nov 2019
-
gist.github.com gist.github.com
-
propsToPass
-
-
github.com github.com
-
frontarm.com frontarm.com
-
For example, if you were to add a className prop to the top or bottom <div> in the above demo, the <List> component would remove it in place of the top or bottom class. You can see this in the following example, where I’ve added the highlight class to the top two rows, but only the middle row is actually highlighted.To fix this, you’ll need to append a string to the className instead of replacing it.
-
-
stackoverflow.com stackoverflow.com
-
It makes sense that the incoherent render would not be committed to browser and that it would not have any consequences most of the time. But that means that you render logic must be ready to manage incoherency between props and states without crashing. E.g. a list of resource ids in props that doesn't match a list of http requests from a previous id list in the state could lead to weird situations. This is a worry that didn't exist in class components.
-
- Oct 2019
-
react-select.com react-select.com
-
Inner RefSome components are passed an innerRef property to facilitate for internally managed behaviour within the base select. This should be assigned to the ref property of the relevant dom element. i.e.const CustomOptionComponent = ({ innerProps, innerRef }) => (<div ref={innerRef} {...innerProps} />) Inner PropsAll functional properties that the component needs are provided in innerProps which you must spread.
-
- Feb 2016
-
web.hypothes.is web.hypothes.is
-
An Open Letter to Marc Andreessen and Rap Genius
It's a good sign that both hypothes.is' and genius' annotators work perfectly well together on the same page. Props to both dev teams!
Tags
Annotators
URL
-