This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Conversation
Collaborator
|
What is the use case for this? If I understand this correctly, this seems like something that would only have relevance to a developer and not an end user (i.e. it is a feature that would not provide any value to a user, but just add confusion). However, I may be completely misunderstanding it or not seeing where it makes sense. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Near completion except for issues with redux-persist and non-serializable datatypes in the store.
Config file for usage (deploy preview will not work)
{ "mainnet": { "rpc": "https://rpc.tzbeta.net", "network": "mainnet", "bcd": { "api": "https://api.better-call.dev", "gui": "https://better-call.dev" }, "tzkt": { "api": "https://staging.api.mainnet.tzkt.io" }, "contracts": { "nftFaucet": "KT1QcxwB4QyPKfmSwjH1VRxa6kquUjeDWeEy", "marketplace": { "fixedPrice": { "tez": "KT1E8Qzgx3C5AAE4iGuXvqSQjdd21LK2aXAk" } } }, "ipfsApi": "https://minter-api.tqhosted.com", "ipfsGateway": "https://tqtezos.mypinata.cloud" }, "testnet": { "rpc": "https://rpctest.tzbeta.net", "network": "edonet", "bcd": { "api": "https://api.better-call.dev", "gui": "https://better-call.dev" }, "tzkt": { "api": "https://staging.api.edo2net.tzkt.io" }, "contracts": { "nftFaucet": "KT1Hagc5XQYzkX7HfRbUNXdi4CBfiENzbHiU", "marketplace": { "fixedPrice": { "tez": "KT1H4tMRW3o9GdPJ3r82ZC7BJiR6WgmYazUC" } } }, "ipfsApi": "https://minter-api.tqhosted.com", "ipfsGateway": "https://tqtezos.mypinata.cloud" } }YAML + #395 may be a more compact/readable alternative as this grows.
UPDATE: working version without redux-persist implemented (although refreshing the page leads things out-of-sync as the store is not persisting).
To grab a build with redux-persist pull commit 4b74f98
https://stackoverflow.com/questions/35305661/where-to-write-to-localstorage-in-a-redux-app
localStorage instead of redux-persist?