Module
Solid.Root
- Package
- purescript-purs-solid
- Repository
- arazorda/purs-solid
#createRoot Source
createRoot :: forall m a. MonadReactive m => (Effect Unit -> Setup a) -> m aRuns body in a new owner; the Effect Unit passed to it disposes the root.
From Effect the root is detached; from Setup it's disposed with the current owner.
The body can't write signals: return the setters and write from Effect.
#RootOptions Source
type RootOptions :: Row Typetype RootOptions = (id :: String, transparent :: Boolean)
#createRootWith Source
createRootWith :: forall m a given missing. MonadReactive m => Union given missing RootOptions => Record given -> (Effect Unit -> Setup a) -> m aTakes any subset of RootOptions.
- 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