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.

Split react component

See original GitHub issue

This repo host the web-app and also the react component version, it should be a good idea to organize the code in modules:

@Villain
--- @Villain/web-reader
--- @Villain/react-reader

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
btzr-iocommented, Oct 19, 2019

@DaniAcu I agree the example needs improvements ( my bad ) 🙃

I was thinking about adding a form component to toggle all props and options of the viewer and also a file input to choose any archive file instead of the default.

Styleguidist and storybook also looks like great integrations but I want to keep it simple as possible, at least for know.

~Could you open an issue for this ?~ never mind, I have time to do it 😅

1reaction
DaniAcucommented, Oct 19, 2019

Or maybe Styleguidist. I only think on ways to do this more easy to check the sample and maintain the code. https://github.com/styleguidist/react-styleguidist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code-Splitting - React
You can place the Suspense component anywhere above the lazy component. You can even wrap multiple lazy components with a single Suspense component....
Read more >
How to split a component when it gets big. ReactJs or React ...
As far as I have seen your code, you have divided components the right way, in my opinion, you should not break them...
Read more >
Code Splitting in React – Loadable Components to the Rescue
Code splitting is a way to split up your code from a large file into smaller code bundles. These can then be requested...
Read more >
Code-Splitting in ReactJs with Its Best Practices - XenonStack
Code splitting is the splitting of code into components or numerous bundles which can be loaded when there is a demand or in...
Read more >
react-split - npm
React component for Split.js. Latest version: 2.0.14, last published: a year ago. Start using react-split in your project by running `npm i ...
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