上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 491 下一页
摘要: With React Router v4 the entire library is built as a series of React components. That means that creating nested Routes is as simple as creating any 阅读全文
posted @ 2017-03-21 19:31 Zhentiw 阅读(264) 评论(0) 推荐(0)
摘要: React Router v4 ignores query parameters entirely. That means that it is up to you to parse them so that you can use that additional information as re 阅读全文
posted @ 2017-03-21 19:19 Zhentiw 阅读(350) 评论(0) 推荐(0)
摘要: We can use regular expressions to more precisely define the paths to our routes in React Router v4. To add regex for router, we only need to add (), i 阅读全文
posted @ 2017-03-21 16:42 Zhentiw 阅读(357) 评论(0) 推荐(0)
摘要: URLs can be looked at as the gateway to our data, and carry a lot of information that we want to use as context so that the user can return to a parti 阅读全文
posted @ 2017-03-21 16:35 Zhentiw 阅读(253) 评论(0) 推荐(0)
摘要: We often need to be able to apply style to navigation links based on the current route. In React Router v4 you can easily accomplish this with the Nav 阅读全文
posted @ 2017-03-21 04:10 Zhentiw 阅读(466) 评论(0) 推荐(0)
摘要: 'FormArray' can work with array of 'FormGroup' or 'FormControl'. So for Javascript, we have a 'form=new FormGroup()', inside formGoup, we have a 'stoc 阅读全文
posted @ 2017-03-21 03:32 Zhentiw 阅读(578) 评论(0) 推荐(0)
摘要: First time dealing with Reactive form might be a little bit hard to understand. I have used Angular-formly for AngularJS bofore, what it does is using 阅读全文
posted @ 2017-03-20 04:19 Zhentiw 阅读(975) 评论(0) 推荐(0)
摘要: If you’ve created several Routes within your application, you will also want to be able to navigate between them. React Router supplies a Link compone 阅读全文
posted @ 2017-03-19 02:22 Zhentiw 阅读(244) 评论(0) 推荐(0)
摘要: React Router 4 has several routers built in for different purposes. The primary one you will use for building web applications is the BrowserRouter. I 阅读全文
posted @ 2017-03-19 02:07 Zhentiw 阅读(1073) 评论(0) 推荐(0)
摘要: In this lesson we'll see how Ramda's path and pathOr functions can be used to safely access a deeply nested property from an object while avoiding the 阅读全文
posted @ 2017-03-18 03:25 Zhentiw 阅读(280) 评论(0) 推荐(0)
上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 491 下一页