Questions tagged [refs]

Resilient File System

The Resilient File System (ReFS) is Microsoft's newest file system, designed to maximize data availability, scale efficiently to large data sets across diverse workloads, and provide data integrity by means of resiliency to corruption. It seeks to address an expanding set of storage scenarios and establish a foundation for future innovations.

162 questions
1
vote
1 answer

Get result of merging a PR while it is already merged

For a PR with number 1 GitHub automatically creates a ref refs/pulls/1/head and refs/pulls/1/merge. The latter contains the result of the merge and is especially useful for e.g. CI (because what you want to test is actually the result of the…
Martijn
  • 5,491
  • 4
  • 33
  • 41
1
vote
1 answer

Mongoose schema for arrays of refs with role

I'm very new to the NoSQL way of doing things so please excuse me if I'm just thinking about this completely wrong (I feel like I am). My application has Users and Organizations, and the Users must have and belong to those Organizations with a role…
Kevinflo
  • 33
  • 4
1
vote
1 answer

EXTJS Controller view autogenerated getter

I'm developping an Extjs app. Here is one of my controllers Ext.define('ACP.controller.CodeTabs', { extend: 'Ext.app.Controller', /* views: [ 'CodeTabs' ], */ refs: [ { ref: 'codetabs', selector: 'codetabs', } ], init:…
fwoelffel
  • 412
  • 7
  • 16
0
votes
0 answers

overwrite git's history with commits in refs/replace

I ran git filter-repo on a repository to remove some secrets using the --replace-text flag. I admit I don't understand the tool completely, and found out after I pushed the changes to remote (gitlab) that none of the replacements are present on the…
0
votes
0 answers

`PermissionError` occurs when use `os.rename()` or `os.replace()` on files of a Windows ReFS drive mounted to WSL2

My Python project works correctly on Windows but it encounters bugs on WSL2. I have done some debugging and finally localized the error to a compatibility problem. That is, in WSL2, Python's native functions os.rename() and os.replace() cannot deal…
Little Train
  • 707
  • 2
  • 11
0
votes
1 answer

vuejs - why "this.$refs.variable" gives undefined, but when I use the value of the "variable" it works

I'm a bit new with vue.js but still...I don't understand the behavior. Could someone explain why when I use a variable after "this.$refs.somevariable", I have an undefined result, but if I use the value of the variable, then it works…
LNFullStack
  • 23
  • 1
  • 4
0
votes
0 answers

Modify DOM Element by ref in another componet

I want to modify the text of a label in another component passing to the last the refs to the label in a props. const withLabelGroup = (Component, label, groupProps, labelStyle="") => { const xxx = forwardRef((props, ref) => { …
Bakib62
  • 1
  • 1
0
votes
0 answers

VHDX redundancy (REFS file system) checking integrity every time

I have created 2 VHDX disks (as files). I created a REFS file system on them and used the reliability option. When I mount first VHDX file in the system and then the second, there is a data integrity check on both. Question, is it possible to mount…
modrih
  • 1
0
votes
0 answers

how to upload images using refs(in react) in multiple input tags using react quill

Using ref I am getting only one image uploaded in an input, but I want different images in all input fields. enter image description here ` setInstructions(e)} …
0
votes
0 answers

using react and reft, what is the difference between these 2 approches?

I have this code where i call the function inside a custom hook to reset the state const companySelectPaginationRef = useRef(); { onClose(); companySelectPaginationRef.current.resetCompaniesSearchQuery(); …
eksoo
  • 81
  • 1
  • 6
0
votes
0 answers

React Refs, React.forwardRef

More of an observation than a question. When passing a ref down through props from a parent component to a child component. If we pass the prop down using the word ref, such as ref={x}, we then get an error telling us we must use React.forwardRef.…
0
votes
0 answers

How to use git's negative refspecs?

I have a couple of remote branches (hotfixes) that I need to not fetch locally. I read about git negative refs but it seems like they are not working. They're supposed to work starting with git version 2.29. My current git version is 2.38. This is…
user6306548
0
votes
0 answers

Cannot read properties of undefined (reading 'className') using $refs Nuxt js

[enter image description here][1][enter image description here][2] [enter image description here][3] [1]: https://i.stack.imgur.com/Q8S6X.png here is a global overview of the code [2]: https://i.stack.imgur.com/tNsWf.png [3]:…
0
votes
1 answer

Using refs and .reduce scroll to the id of selected element with react with useState

sorry if the title doesn't make much sense. I've been refactoring my code from this.state to useState, and I finally got things working except for the refs... In my original code I was making individual axios calls and using this.state along with…
astrinoid
  • 3
  • 2
0
votes
1 answer

React ref is only updating one instance

Got an interesting problem withs refs. I'm mapping over a component and rendering it multiple times and passing a ref to each one const ref = useRef() {data.map(d) => ( )} Then in a…
Red Baron
  • 7,181
  • 10
  • 39
  • 86