Cassio Zen
Cassio Zen
Nested states are beneficial for a myriad of reasons, including: - State nesting lets you define a new state rapidly in terms of an old one by reusing the behavior...
Right now the state value is always a string, but since we plan to introduce hierarchical fsms in the future (#21), state values might be represented differently. Adding a 'matches'...
Is there an appropriate way to integrate effects in a profunctor or is this a complete orthogonal concept? Example: Suppose I want to log when a value is set.
Recently, libraries like React Query and React SWR have proposed a new approach to data fetching with tremendous benefits for the developer (mainly Caching & invalidation) as well as some...
Applied `piccalil.li` modern CSS Reset (Defaults to `border-box` box sizing & includes chosen font in form fields, buttons etc) Include `swyx.io` 100 Bytes of CSS to look great everywhere
AbortController is JavaScript's built-in cancelation interface for asynchronous requests (like fetch). When aborting, you can provide a "reason" - Typescript types `reason` as `any`: ```ts const controller = new AbortController();...
Currently `query.append` mutates the original query, which makes cumbersome to reuse a base query in multiple places. For example, this will not work - Every time the route handler gets...
Useful for reusing a base query with multiple different appended statements: Example: ```javascript const baseQuery = SQL`SELECT * FROM books`; app.get("/", (req, res) => { const query = baseQuery.concat(SQL` WHERE...