helix

emccue 2022-11-12T23:59:22.253949Z

dumb q but helix - usable with next js?

2022-12-09T14:29:17.052469Z

I don't think so. Next dictates the server piece. If you want to use next as SPA (that is the main use of helix) you would need to make some hacks as explained in this post https://colinhacks.com/essays/building-a-spa-with-nextjs

lilactown 2022-11-12T01:21:10.021449Z

IMO the parent component should be in control of the key, not the child component

lilactown 2022-11-12T01:22:16.799879Z

I also don't like spreading an entity in the props of a component. much prefer

($ habit-item
   {:habit habit
    :key (::habit.model/id habit)})

dvingo 2022-11-13T15:45:45.754449Z

Good deal, that makes sense to me