Questions tagged [render]

Rendering is the process of generating an image from a model (or models in what collectively could be called a scene file), by means of computer programs.

A scene file contains objects in a strictly defined language or data structure; it would contain geometry, viewpoint, texture, lighting, and shading information as a description of the virtual scene

5211 questions
1
vote
1 answer

react-native-chart-kit issue check the render method

I am testing the package react-native-chart-kit, I follow the tutorial just to see how it could look like but I can't get it work correctly. I tried with piechart and barchart also but still the same mistake. Could you guide me to check what's wrong…
Kimako
  • 615
  • 2
  • 11
  • 26
1
vote
1 answer

React child not re-rendered when parents props change

I'm having some issues with child re-rendering, I pass methods to children to see if a button should be displayed or not but when the state of the parent changes, the children are not re-rendered. I tried with the disabled attribute for the button…
AnthonyDa
  • 493
  • 15
  • 34
1
vote
1 answer

Unity fix NavMeshAgent jerky movements?

Record of the problem https://youtu.be/BpzHQkVQz5A Explaining my problem I'm programming a mobile game using Unity3D Engine. For my player movement, I'm using NavMeshAgent because it's for me the easiest and most efficient way to do it. But when…
miishuriinu
  • 117
  • 1
  • 9
1
vote
1 answer

React: class instance in state preventing rerender

I have the following component class TreeRenderer extends React.Component { constructor(props) { super(props); let tree = new NodeTree(props.values || []); this.state = { tree: tree, currentState: 0, …
1
vote
3 answers

Flutter : Why does the login page appear briefly before going to home screen every time I restart my app although the user is already logged in?

Flutter & Firebase : Why does the login page always appear briefly before going to home screen every time I restart my app even though the user is already logged in? I understand that my app needs sometimes to render the user from firebase. But the…
Punreach Rany
  • 2,560
  • 7
  • 23
  • 56
1
vote
1 answer

How to render variable to template in Django app

I'm developing Django app. I want to render variable "q_word" to the template from this views.py class DbList(ListView): model = TestEu paginate_by = 10 def get_queryset(self): q_word = self.request.GET.get('query') if…
daylyroppo
  • 67
  • 4
1
vote
1 answer

Component not rendering on redirecting to same page

I am working on a react app. So I have these components in my homepage Sidebar Sidebar Suggestions Tags Tags Suggestions My Main Routing is like : And my Home…
Himanshu Tariyal
  • 264
  • 6
  • 13
1
vote
2 answers

Applying multiple filter using reactjs but not able to set state at the time of button click

I am not able to update state on click of each button, but state is updating on a second click. I have filter function that runs when I click on any button, but it is not updating state when I click on button. Instead it is updating when I click a…
1
vote
1 answer

Google Maps JS - Render only one leg from a route

I'm developing a JS webapp with Google Maps API. I have to calculate the distance from A/D to B, B to C and C to A/D (please check the next image). https://i.stack.imgur.com/FkaK9.jpg But, on the map, I have to render ONLY the second leg (legs[1], B…
Itslennee
  • 23
  • 3
1
vote
1 answer

How to prevent other compnents re-rendering when only single state changed in redux

I created a react project using redux as state management. I have two different states stored in the same reducer and used by two different components. But every time I change the state in one component, the other component also re-rendered. How to…
1
vote
1 answer

react formik conditional render initial values

I want to render a value if my Id is true if the Id is false the value shouldnt exist, is it possible to render what values formik initialValues={{ id:currentBankData.id || '', name: currentBankData.name ||…
ChrisJnr Potgieter
  • 141
  • 1
  • 2
  • 13
1
vote
1 answer

Like to conditionally render an initialValue in formik

I'm having trouble understanding Formik and conditionally rendering some of the items Like to conditionally render an initial value in formik keep telling me that image is undefined when in the if statement
ChrisJnr Potgieter
  • 141
  • 1
  • 2
  • 13
1
vote
2 answers

React renders without actually changing the state when setInterval is used

I'm going to introduce my question in two steps with slightly different code blocks in both. Step 1: Below we have a React application which renders itself every two seconds and therefore causes the browser to print render to the console. If the…
1
vote
2 answers

React Render List Incorrect (List is correct, but render overwrite and duplicate)

I’m trying to make a simple order system, when user selects QTY and click “Add to Order”, the information of the selected dish will be shown in the “Your Order” area (click “Refresh Order” to see). What I’m doing is to insert the dish information…
Dung-Yi
  • 45
  • 6
1
vote
1 answer

QImage loaded from PPM file isn't displayed properly

So, I'm doing an image manipulation assignment for my class using QT, I was asked to save the current Image data that I have into PPM format manually, as well as loading it back to the QDialog program. I managed to save the image correctly (verified…
Zyc
  • 13
  • 2