Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/solid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ import { createSignal } from "solid-js";

// A component is just a function that (optionally) accepts properties and returns a DOM node
const Counter = props => {
// Create a piece of reactive state, giving us a accessor, count(), and a setter, setCount()
// Create a piece of reactive state, giving us an accessor, count(), and a setter, setCount()
const [count, setCount] = createSignal(props.startingCount || 1);

// The increment function calls the setter
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/src/reactive/signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ export type ChildrenReturn = Accessor<ResolvedChildren> & { toArray: () => Resol
* Resolves child elements to help interact with children
*
* @param fn an accessor for the children
* @returns a accessor of the same children, but resolved
* @returns an accessor of the same children, but resolved
*
* @description https://docs.solidjs.com/reference/component-apis/children
*/
Expand Down