Comments (1)
Thank you! I'd forgotten to document this.
It was important to me that you could still write the regular genserver callbacks (and you can). I'll add an example to the readme.
In terms of supervision, I have mixed feelings. To date, I've been writing my components just using the defaults, and because each is its own (Erlang) application, this has worked out fine. However, I'm also chatting in parallel with José about strategies for state (as we currently really only have strategies for process lifecycles), and this will start to involve supervision.
What I'd really like is for you to use the library and find places where it can't do what you want. Let me know, and we can discuss whether this is something that should be added or whether you can just use regular Elixir.
from component.
Related Issues (10)
- Reference to "Toyland" on README.md goes to 404 HOT 1
- Usage Guidance HOT 5
- how do you name components e.g. using via tuples or atom names? HOT 4
- Missing example? HOT 1
- one_way should return self() pid, not :ok
- forbidden word HOT 1
- Need to handle default parameters
- API design HOT 9
- Document how to include regular gen_server callbacks
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 component.