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.

multiple instances with different configs on one page

See original GitHub issue

Is there a way of displaying multiple sky instances in different containers with different configs? I tried creating a celestial.js copy and renamed all ocurences of “Celestial” to “Celestial2nd”, creating a separate celestial2ndConfig and then calling Celestial2nd.display(celestial2ndConfig); worked, but calling Celestial2nd.skyview({date:myDate}) after Celestial.skyview({date:myDate}) created a JS error saying “Celestial2nd.skyview is not a function”

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
oudeicratcommented, Sep 3, 2020

yes I would like that too, this was just a very quick patch to see if it is even possible at all. If I had more time I would try to make it nicer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create multiple instances with different configurations
Create multiple instances with different configurations. You can run multiple instances of the ST Web Client on one SecureTransport server.
Read more >
Multiple instances of the same component with different config ...
I'm using the vue-flatpickr date/time picker component. I'm using two datepickers and four timepickers on the same page; initially, this worked ...
Read more >
Multiple instances with different config files in IE broken
I'm trying to place multiple CKEDITOR instances on the same page, each one loading a different config file. It works fine in FF,...
Read more >
Single Repo System for Multiple Instances - Medium
If configurational settings drives us to have a page, it'll look into its own instance folder, find the right route there. Things from...
Read more >
Multiple instances with different configuration #27 - GitHub
Hi, it seems that React version has a problem with multiple instances - when the settings are the same, then it's alright, but...
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