- useLocation -> is this advisable in SolidJS or is there another way of encapsulating this sort of behaviour? This feels very React-esque
- TemperatureConverter:
- Most of the logic here is in the JSX-code - how do I pull it out of there best?
- Nested
setCelsius -> setFahrenheit
calls -> I don’t like it, but it works, and it does what I expect
- FlightBooker
- Used useMemo to try and pull the JSX logic upwards — do I need to use useMemo? Somewhere in the documentation it mentions that I can just use a function - the useMemo is only necessary if the calculation is slow and worth caching.
- Timer
- Attempting to write a classic
useTimer
hook -> just be as React as possible - I quite like the result, it feels very convenient and versatile, and my component is very empty of logic
- Passing
Accessor<number>
instead of justnumber
— I understand why I had to do this in this case, but is there a better way?
- Attempting to write a classic
- Crud
- Aim, if possible: find an equivalent of
useReducer
— is thiscreateStore
? - Not particularly happy with the abstractions used here
editPerson
oractiveId
could live inside theuseCrud
object?
- Using effects to “listen” to changes feels weirder here than it does in React somehow, not sure why!
- Aim, if possible: find an equivalent of
-
Notifications
You must be signed in to change notification settings - Fork 0
jfrere/solid-7-guis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published