Babel plugin for circular dependencies
See original GitHub issueAs per discussion, sometimes the way that dialogues are developed can introduce an awkward feedback loop.
Per @staltz’ example
const proxyTextFilterSinks = {value$: new Rx.Subject()};
const actions = intent(proxyTextFilterSinks);
const state$ = model(peoplePageHTTP.response$, sources.props$, actions);
const textFilter = TextFilterWrapper(state$, sources.DOM);
replicateStream(textFilter.value$, proxyTextFilterSinks.value$);
The development of a babel plugin could potentially ease this pain, and doesn’t require the writing of an entirely new language.
Issue Analytics
- State:
- Created 8 years ago
- Comments:66 (58 by maintainers)
Top Results From Across the Web
wclr/babel-plugin-cycle-circular - GitHub
Babel plugin allowing to have circular dependencies in cycle.js functions. - GitHub - wclr/babel-plugin-cycle-circular: Babel plugin ...
Read more >circular-dependency-plugin - npm
Circular Dependency Plugin ... Detect modules with circular dependencies when bundling with webpack. Circular dependencies are often a necessity ...
Read more >Circular Dependencies Support in Babel.js | by Agung Santoso
Circular dependency is a relation between two or more modules which either directly or indirectly depend on each other to function properly.
Read more >How to Analyze Circular Dependencies in ES6? - Railsware
Safe option is to list all the packages that start with babel-plugin-syntax . The list can be obtained from yarn.lock . egrep '^babel-plugin- ......
Read more >Top 5 circular-dependency-plugin Code Examples - Snyk
new CircularDependencyPlugin({ exclude: /a\.js|node_modules/, // show a warning when there is a circular dependency failOnError: false, }) : null, ...
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
here is a draft https://github.com/whitecolor/babel-plugin-cycle-circular
@tusharmath made it agnostic to stream library, without rx specifics but would like people review the approach in the code https://github.com/whitecolor/cycle-circular/blob/master/src/index.js