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.

Delete all examples except "fiber" & "basic-jsx"

See original GitHub issue

Many people to understand something new are reading docs/articles, but good practice is to explore examples in parallel.

Current examples’ issues:

  • Depends on Babel 5.8.
  • <script type="text/babel"> - deprecated.
  • setInterval(render, 50) - to wait dom.
  • Outdated libraries (like webcomponentsjs 0.7).
  • Generally, you must ‘parse’ in mind the whole html file to understand how small Component works.

For me, possible solution could be rewriting examples as separate modules with own package.json, README, etc., with simple npm start, npm build scripts.

If it can be useful, I could make a PR in a few days.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gaearoncommented, Nov 29, 2016

I’m fine with removing all except basic-jsx and Fiber which are useful for our own testing. But they need to be renamed to “fixtures” or something so that people don’t look there.

0reactions
gaearoncommented, Oct 4, 2017

We got rid of them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript · Issue #11 · pmndrs/react-three-fiber - GitHub
It's not clear initially how to write my own type definitions for the library. The Three-related components need to be added to in...
Read more >
react-three-fiber examples - CodeSandbox
React Three Fiber Examples. Learn how to use react-three-fiber by viewing and forking example apps that make use of react-three-fiber on CodeSandbox.
Read more >
Build your own React - Rodrigo Pombo
Let's remove all the React specific code and replace it with vanilla JavaScript. On the first line we have the element, defined with...
Read more >
Reconciliation - React
When building up a new tree, new DOM nodes are inserted into the DOM. Component instances receive UNSAFE_componentWillMount() and then componentDidMount() . Any...
Read more >
A Dive Into React And Three.js Using react-three-fiber
react -three-fiber is a powerful Three.js renderer that helps render 3D models and animations for React and its native applications.
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