You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm of the opinion that actions should be renamed to drop the "Action" label from imports. This is because the use: syntax indicates that it is an action. Here is also the thread on Twitter discussing the possibility of renaming stores into readable and writable variants. https://twitter.com/ankurpsinghal/status/1637505767757455365?s=46&t=vXFY1pu_gVqC1tnNxYJ_Ow
In terms of stores, appending Store isn't bad but as per the thread maybe explicitly stating readable/writable would be better.
The options are
import{hoverStore}from"svelte-legos";//versus//This one seems to make the most sense to meimport{readableHover}from"svelte-legos";//or maybeimport{hoverReadable}from"svelte-legos";
The text was updated successfully, but these errors were encountered:
Yeah reading through that thread it would be nice if the imports are from either svelte-legos/actions or svelte-legos/stores that way it's even more explicit
I'm of the opinion that actions should be renamed to drop the "Action" label from imports. This is because the
use:
syntax indicates that it is an action. Here is also the thread on Twitter discussing the possibility of renaming stores into readable and writable variants. https://twitter.com/ankurpsinghal/status/1637505767757455365?s=46&t=vXFY1pu_gVqC1tnNxYJ_OwBelow are the different options versus currently.
This gives us
In terms of stores, appending
Store
isn't bad but as per the thread maybe explicitly stating readable/writable would be better.The options are
The text was updated successfully, but these errors were encountered: