Allow import/export
See original GitHub issueI`m searching for a way to use ketting with a state management like mobx or redux without saving a complete ketting class in state?
To realize it, I need to get the response body oder something similar out of ketting and later import it to ketting, when I want to follow a link of a resource.
Example:
- get resource from server with ketting and export it
- save it in mobx or redux store and use it in the view
- a user trigges an action
- action handler uses ketting to import an object from the store (which contains links) to follow and open a link
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Importing and Exporting | USAGov
Some types of goods and services require a license or permit to import into the U.S. as a part of your business.
Read more >Export and Import
Export and import directives have several syntax variants. In the previous article we saw a simple use, now let's explore more examples.
Read more >import - JavaScript - MDN Web Docs - Mozilla
Name of the exports to be imported. The name can be either an identifier or a string literal, depending on what module-name declares...
Read more >Basic Importing and Exporting
Both CBP and the importing/exporting community have a shared responsibility to maximize compliance with laws and regulations. In carrying out this task, ...
Read more >Import/Export Permit Applications and Declarations
DEA Form 161 - Application for Permit to Export Controlled Substances DEA Form 236 - Controlled Substances Import/Export Declaration
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Take a look at #190
I think you’ll just kind of end up fighting the library too much to achieve this, but the best I can tell you is to pass the ‘representation’ object around, not the resource.
For what it’s worth, we do pass resources around to our React components. Our API layer is mostly just responsible for finding the ketting resources and returning them, and it’s a very thin layer.