Posts by Jomar Antônio Cardoso • 39 points
4 posts
-
0
votes0
answers268
viewsQ: Dynamic tag typing in React with Typescript
What’s going on I have a button component with its dynamic html tag [a, button], but the way I called it shows error in some props like the onClick, anchor who receives an event of type click on…
-
1
votes0
answers17
viewsQ: ". js" extension loses relative path in Requirejs modules
I’m using Bable or Typescript to transpose my ES6 modules to AMD. The problem is that if the file has extension Requirejs cannot locate the files, it looks at the root of the project instead of…
-
1
votes1
answer994
viewsA: How to create component hierarchy with React Native?
There are two ways I know of one component "inheriting" the properties of another, which is extending or placing within another. INHERITANCE Component "parent": import React from 'react'; class…
-
1
votes2
answers3180
viewsA: What’s the difference and when to use Flexbox or CSS Grid?
The purposes of flexbox and Grid-layout are different. Flexbox: His focus is to organize the items in rows or columns, but following the "block" system, that is to say the content will be several…