Skip to content

Conversation

FWeinb
Copy link
Contributor

@FWeinb FWeinb commented Dec 7, 2016

While working on #145 I noticed that creating a component without passing an empty options object was not possible. This PR is fixing that.

@codecov-io
Copy link

codecov-io commented Dec 7, 2016

Current coverage is 92.14% (diff: 100%)

Merging #146 into master will increase coverage by 0.57%

@@             master       #146   diff @@
==========================================
  Files            52         52          
  Lines          1423       1528   +105   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1303       1408   +105   
  Misses          120        120          
  Partials          0          0          

Powered by Codecov. Last update 2df6ef0...65b10f6

@Swatinem Swatinem merged commit fd43dfc into master Dec 7, 2016
@Rich-Harris
Copy link
Member

When is this necessary? If you're instantiating a component yourself you have to supply options.target, no?

@FWeinb
Copy link
Contributor Author

FWeinb commented Dec 7, 2016

No idea where my brain was when I thought this would be a good idea...

@Swatinem
Copy link
Member

Swatinem commented Dec 7, 2016

When is this necessary? If you're instantiating a component yourself you have to supply options.target, no?

Since we have separated mount, you can create a component without options.target and mount later.

@Swatinem Swatinem deleted the pass-no-options branch December 8, 2016 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants