Module
Solid.Internal.View
- Package
- purescript-purs-solid
- Repository
- arazorda/purs-solid
Internal view runtime. JSX is a lazy description: each place it's
rendered creates fresh DOM.
#bindingProp Source
bindingProp :: forall r v a b. ToBinding v a => String -> (a -> b) -> v -> Prop rconvert is applied to the value, or to each value the accessor yields.
#ComponentRep Source
data ComponentRep t0#componentRep Source
componentRep :: forall props. (props -> Effect JSX) -> ComponentRep props#componentElement Source
componentElement :: forall props. Fn2 (ComponentRep props) props JSX#JsPropEntry Source
data JsPropEntry{ key, get } or { key, value }.
#jsPropsComponentElement Source
jsPropsComponentElement :: forall component. Fn2 component (Array JsPropEntry) JSX#WhenValue Source
data WhenValue t0Encoded so falsy values (Just false, Just 0, Just "") still count
as present in Show / Match.
#Keyed Source
data Keyed t0 t1 t2How For matches items to views; item and index are what the
render callback receives in that mode.
#dynamicImpl Source
dynamicImpl :: forall props. Fn2 (Accessor (ComponentRep props)) props JSX#noHydrationImpl Source
noHydrationImpl :: JSX -> JSX#hydrationImpl Source
hydrationImpl :: JSX -> JSX#LazyModule Source
data LazyModuleA module namespace from a dynamic import().
#loadModule Source
loadModule :: String -> Effect (Promise LazyModule)#LazyName Source
class LazyName :: Symbol -> Constraintclass LazyName name where
The name of a lazily loaded module or value. It reaches the compiled call
site as a "purs-solid:lazy:<name>" literal, which is how
purs-solid/vite finds what to split into chunks.
Members
Instances
#lazyImpl Source
lazyImpl :: forall props. Fn3 String String (Effect (Promise LazyModule)) (ComponentRep props)#clientOnlyImpl Source
clientOnlyImpl :: forall props. Fn3 String String (Effect (Promise LazyModule)) (ComponentRep props)#preloadImpl Source
preloadImpl :: forall props. EffectFn1 (ComponentRep props) Unit- Modules
- Solid.
Action - Solid.
Async - Solid.
Component - Solid.
Component. JS - Solid.
Context - Solid.
Control - Solid.
DOM - Solid.
DOM. Aria - Solid.
DOM. AttrValue - Solid.
DOM. HTML - Solid.
DOM. SVG - Solid.
Errors - Solid.
Internal. Action - Solid.
Internal. Equality - Solid.
Internal. Identity - Solid.
Internal. Names - Solid.
Internal. Optimistic - Solid.
Internal. Props - Solid.
Internal. Reply - Solid.
Internal. Serializable - Solid.
Internal. ServerFunction - Solid.
Internal. Setup - Solid.
Internal. Store - Solid.
Internal. Tracked - Solid.
Internal. View - Solid.
JSX - Solid.
Lifecycle - Solid.
Meta - Solid.
Owner - Solid.
Reactivity - Solid.
Root - Solid.
Router - Solid.
Router. Action - Solid.
Router. Path - Solid.
Router. Query - Solid.
Router. Search - Solid.
Setup - Solid.
Signal - Solid.
Start. Middleware - Solid.
Start. RequestEvent - Solid.
Start. Response - Solid.
Start. ServerFunction - Solid.
Start. UseServer - Solid.
Store - Solid.
Testing - Solid.
Utility - Solid.
Web - Solid.
Web. SSR