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.

Rethink templating

See original GitHub issue

I mentioned to @NMinhNguyen that I had a few misgiving when adding a templating feature.

  1. Partly, the implementation is a little confusing right now due to the way we are piggy-backing on the installation of create-react-app. There are changes that create-react-app makes which are not part of its template and we then need to undo or amend. It’d be nicer if everything was just copied across from a single folder.

  2. More substantively, a widget is dependent on an app, so if the configuration of an app and verson of modular installed doesn’t include support for TypeScript you should not be able to install a widget that depends on this. I’m not suggesting that we add validation – probably it means that the template for a widget is stored within the modular package (for now called modular-scripts). This was brought up by @threepointone a week or so ago, and I’m writing it down now for posterity.

  3. Finally, there are now three templates (repo, app and widget). Currently, only app and widget are configurable, and we will likely want repo to be configurable, too. (If/when this is required, it might need to support something like wizards.)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
threepointonecommented, Aug 6, 2020

Leaving this open for a bit, will close by the end of the week if no new info presents itself.

1reaction
threepointonecommented, Aug 5, 2020

Ha, you were the one that asked for them originally! ;D

I’m also a big fan of changing my mind when presented with new information 😛

Yeah, let’s just remove the template arg for now (happy to do it myself too if you’d like, I could send it as soon as tonight)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating and Using Templates - Rethink Robotics
A template is a basic or "skeleton" subtree behavior that can be inserted into a task as needed. Templates have behavior tree structure...
Read more >
Creating Email Templates in Rethink - Buildout Help Center
To get started, go into Setup and type in Email Templates in the Quick Find box, then select Classic Email Templates. Next, click...
Read more >
Client Report Templates - Rethink BH Self-Help - Atlassian
This article describes how to create a report template for your staff to use when generating a client report. For directions on how...
Read more >
The Creative Gym's Rethink Ambiguity by The Creative ... - Miro
Discover how The Creative Gym does Rethink Ambiguity by The Creative Gym in Miro with Miroverse, the Miro Community Templates Gallery.
Read more >
Rethink using Design-to-Code or Templates & Modules ...
This post explains the deficiencies of the two most common email creation workflows, Design-to-Code and Templates & Modules.
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