Skip to content

A few questions regarding your library #21

Closed Answered by nank1ro
jacob-emery asked this question in Q&A
Discussion options

You must be logged in to vote
  1. It's recommended to prevent having a huge number of params and because you should use the Solid widget to pass signals down to the tree
  2. Changing from riverpod
    2.1. Internally it's very similar to a ValueNotifier but with more extra built-in features (like previousValue, select, customizable comparator and so on)
    2.2. When using the Solid widget, every signal or provider you declare is lazy by default (but you can customise the behaviour for providers). They will be created only when read. The Resource is always lazy, it runs only when used inside a ResourceBuilder or when you call resolve() yourself. If you use createSignal outside of the Solid widget it gets created immediately.
    2.3. I …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by nank1ro
Comment options

You must be logged in to vote
1 reply
@nank1ro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #19 on April 28, 2023 16:14.