question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrate with Recon

See original GitHub issue

@chrisui release Recon at ReactEurope a few days ago, and it’s basically a much better react-docgen!

We should look into replacing docgen with this asap: https://github.com/recon-js/recon

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:4
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
chrisuicommented, Jun 7, 2016

👍

So a quick update: I will be on holiday for the next week and a bit but after that I will be around to personally get Recon integrated into Carte Blanche!

Before that I’m hoping to put together some docs around the interfaces of Recon so that we can, as a community, ensure everyone’s tool’s needs are met 😃

1reaction
chrisuicommented, Aug 24, 2016

Right. So sorry about the delay and silence! Had a much needed holiday extension and have some crazy things occurring at work.

I have pushed a new version of recon-engine (the guts behind recon) which is, I’m happy to say, working very well on our pretty extensive and intricate codebase at Lystable. I’m soon going to be reaching out to whoever I can to try and target all the edge cases there are bound to be. Note this is not a very user friendly version to begin with.

Current example output (across ~1,500 modules with ~700 components, takes 15 seconds to generate) can be found here: https://raw.githubusercontent.com/lystable/recon/master/packages/recon-engine/test-run.json which is generated from this query: https://raw.githubusercontent.com/lystable/recon/master/packages/recon-engine/src/engine/__fixtures__/basic-app/query.graphql

Highlights here are pulling out prop usage data, dependencies, dependants etc!

The current big blockers for any usage within carte-blanch I see are:

  • Extracting the prop type information about components (won’t be anything too difficult and as you can see from the linked output we have some pretty good power around resolving symbols and types across module boundaries so a level on top of react-docgen)
  • Deciding how carte-blanche wants to interface with recon. All we are opinionated on is “there is a graphql interface”. You can generate all the data up front (as tests do currently) for your components or query later on a per-component basis. (since large codebases get up to a few mb of data maybe the latter is preferable). All that is required is that react-engine is spawned somewhere so it can discover all the users components and provide an interface for querying.

Anyway just wanted to give a quick update on progress and allow any further questions to be asked!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recon Connect – Manage Your Reconditioning Workflow ...
No more jumping between programs. Integration is here. Introducing Recon Connect. Rapid Recon Connect is a complimentary browser extension for all Rapid ...
Read more >
Using the Recon Integration Commands
Open an active channel. · Right-click an event, select Integration Commands, and select Recon Search. · In the popup, select a type of...
Read more >
Announcing Recon Connect - YouTube
Integration everywhere is here. Rapid Recon users can access reconditioning data using Google Chrome or Microsoft Edge browser, ...
Read more >
RECON guidelines
This document provides guidelines for package development which are meant to promote clearer, robust, maintainable, and well-documented code. It borrows largely ...
Read more >
Workforce Recon - New Salesforce.com integrated Field ...
Start tracking everything with simplicity and increase profit margins instantly with the new Salesforce.com integrated Field Recon app.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found