Comments (12)
@dai-shi in the future, I'll write articles about jotai and deep dive in it.
from jotai.
@LuckyPigeon
It's ready. We have one example ./examples/hello
.
This can work both locally or in codesandbox. If it runs locally it will use the local jotai src, if in codesandbox it will use the published jotai package. http://githubbox.com/pmndrs/jotai/tree/master/examples/hello
Would you try adding another example as a start?
from jotai.
I can work on this, and would you prefer all the code in a PR or separate them into a few PR, for example, an example a PR?
Does this repo has a gitter or slack or any other contact method?
I have already gain some progress on "Hack New Example" and hope could keep working on it
from jotai.
Good question. For the time being, I'd just put codesandbox/github links in showcase.md.
We also have examples folder in the repo, and we'd like to improve it eventually.
We do have a channel in the pmndrs discord server. please find the discord badge in readme.
from jotai.
@dai-shi
I guess I need to split this to several PRs, at least a PR for one enhancement. I will start from adding descriptions.
from jotai.
Sure. That's expected.
from jotai.
@dai-shi
Is there a way to modify and commit the code in the showcase(codesandbox
)?
from jotai.
@LuckyPigeon No. Just fork it and replace with the new URL.
from jotai.
@dai-shi
github
can easily link to codesandbox
by change https://github.com/<repo_name>
to https://githubbox.com/<repo_name>
.
Due to this feature, is it a good idea that we download all of examples in showcase.md and put them into examples
folder?
Then we can modify and commit it easily, and we can also connect to codesandbox as easy as before.
from jotai.
@LuckyPigeon Alright, I understand your suggestion. I was going to work on examples
some time later, but as you express your motivation, let me work a bit on examples
folder so that you can put multiple examples in different folders. Hold on a moment.
from jotai.
@dai-shi
Sure!
from jotai.
Let me close this as the initial iteration is done.
We'd want more examples official/unofficial.
Suggestions are welcome.
from jotai.
Related Issues (20)
- Split atom creators recipe in docs into multiple markdown files HOT 3
- invalidation / re-evaluation of atoms is broken HOT 5
- atomWithStorage issue since 2.3.0+ HOT 3
- Derived dependent atoms not updating during multiple sets HOT 8
- Type Error while using useHydrateAtoms HOT 1
- Jotai async atom not working with expo-router HOT 18
- When working with async atoms in TypeScript, cannot import `Loadable` type from `utils` HOT 4
- Can atomFamily add a cache strategy?
- jotai-recoil issue since 2.3.0+ HOT 15
- onMount cleanup method is called right after mount on React dev mode due to react 18
- `loadable` seems to tear
- useHydrateAtoms conflicts with useAtomsDebugValue HOT 3
- react-refresh-plugin crashes if createStorage is even referenced in a file running on expo web HOT 1
- Cann't access `atomWithStorage` value in spa initial HOT 14
- (nextjs) - useHydrateAtoms return previous value on dynamic route
- Document the use of a function as the second parameter of `set` HOT 2
- Vite 5 / Rollup 4 build warning in v2.6.0 HOT 14
- "TypeError: Invalid value used as weak map key" when using helper function to create atoms.
- How do I use jotai in ordinary js files?not function component.
- [React Native] Atom updates that occur within setTimeout/setInterval trigger a re-render for every useAtom instance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jotai.