10 Matching Annotations
- Mar 2022
-
github.com github.com
-
This gem is just one concern with one scope. If you want to customize it later you can simply copy the code directly into your project.
-
- Dec 2020
-
github.com github.com
-
Jbuilder gives you a simple DSL for declaring JSON structures that beats manipulating giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops.
-
-
sapper.svelte.dev sapper.svelte.dev
-
page is a { host, path, params, query } object where host is the URL's host, path is its pathname, params is derived from path and the route filename, and query is an object of values in the query string.
I like that we don't have to manually parse params/query out of the full request URI. It provides the data that you are most likely to need, in an readily/easily-usable form.
Tags
Annotators
URL
-
-
github.com github.com
-
I think the main difference between the two are the way API are served. Some smelte components need you to input big chunk of json as props, while i prefer keep props as primitive types and in the other hand give you different components tags to compose.
-
- Nov 2020
-
github.com github.com
-
My focus is on make the API as simpler as possible to allows easy integration without even reading the docs but keeping and expand current features.
-
-
github.com github.com
-
However, this coalescing was very complicated, both in the specification and implementations, due to the dynamism of computed property names for accessors. Coalescing was a big source of overhead (e.g., in terms of code size) in polyfill implementations of "Stage 2" decorators.
-
- Oct 2020
-
recoiljs.org recoiljs.org
-
We get a boilerplate-free API where shared state has the same simple get/set interface as React local state (yet can be encapsulated with reducers etc. if needed).
-
-
github.com github.com
-
However, if you want to create a backend API that is meant to be consumed only by your frontend, then you don't need REST nor GraphQL — RPC, such as Wildcard, is enough.
-
- Apr 2020
-
github.com github.com
-
Invert the exit code of a process. Make 0 into 1 and everything else into a 0. An alternative to ! some-command syntax present in some shells.
Tags
Annotators
URL
-
- Dec 2019
-
blog.logrocket.com blog.logrocket.com
-
Fetch() provides similar functionality through the AbortController interface. It’s not as simple as the Axios version, though:
-