Modals in SolidJS
Portal. Can you help me here :)?
...route not rendering sometimes
index one (home) and the /settings one. here's my root.tsx: https://pastebin.com/K8ykT5C2
here's my settings.tsx:
```ts
export default function Settings() {
return (...
Argument of type 'StoreState' is not assignable to parameter of type 'PartStoreState, layers'
Why dose createServerData$ return undefined
Test: undefined where it should return Test: { Foo: "Bar" }
```
export function routeData() {
const user = createServerData$(async (_, { request }) => {
return {...How can I execute a function from parent?
ref work? I want to execute a function from parent, something like this:
```jsx
// Parent
function Parent () {...add keybinds to buttons
How do I pass props to child components which are accessed through props.children?
<Tabs> component that can have an arbitrary number of <Tab> and <TabContent> children. There are other ways to do this, but this is the way I have chosen. I need to update props.index on the children from the parent; and also set their visibility either through a props.visible property.
1. Is there a way to pass props from parent to child by getting the child through props.children (or some other way)?...How to getUser without doing a server request on every page.
can i propagate event to child?
Accessor.
but todo so, i need factory function. i want to avoid the need for factory function....Interpolate percentage?
Reading localstorage theme value before rendering components not working
<Head/> tag from Solid Start.
```jsx
function themeScript() {...Lazy loading routes instead of components
minimal ssr|ssg-setup, general pointers for solid on the server
Authorization still triggering fetch when using conditional routing for AuthProvider
/login page. This all works. The minute I am not logged in, but visit / or /bookings it still runs any createResource present on that page. In my use case I'm actually using createCachedResource which is @lxsmnsyc library. In my case the cache is storing the empty results when I login again. Was wondering how you'd go about preventing anything from fetching until the auth is resolved.
What I see happening is, when you visit /bookings and you're not logged in, it runs that route figures out if you're logged in or not, then redirects to login. But at that point the fetcher has already started....Best way to Read JSON files (Locally Stored)
Fetching resources only when logged in

Does mergeProps deep merge objects?
atoms prop like <MyComponent atoms={{*some styles}} />. As I am building out by components, I want to be able to set base styles with this prop but also allow the consumer of the component to define an atoms prop and have it merge with the base styles. I'm currently using lodash merge for this but was wondering if the mergeProps function could help here.
Current Method: (<Text /> takes the atoms prop)
```jsx
import { merge } from 'lodash';...Smooth scroll
How to pass classes to custom component